Category: News
How to find two layers to replace in googlenet?
Hello,
I’m trying the deep learning using googlenet and I don’t know how to solve the ‘findLayersToReplace’.
I tried this code but it give 3 layers instead of 2 layers that need to find.
layers = net.Layers(end-2:end);
layers =
3×1 Layer array with layers:
1 ‘loss3-classifier’ Fully Connected 1000 fully connected layer
2 ‘prob’ Softmax softmax
3 ‘output’ Classification Output crossentropyex with ‘tench’ and 999 other classes
I don’t need to replace Softmax layer.
Please help me creating the function of findLayersToReplace.
Thank you very much
Hana RazakHello,
I’m trying the deep learning using googlenet and I don’t know how to solve the ‘findLayersToReplace’.
I tried this code but it give 3 layers instead of 2 layers that need to find.
layers = net.Layers(end-2:end);
layers =
3×1 Layer array with layers:
1 ‘loss3-classifier’ Fully Connected 1000 fully connected layer
2 ‘prob’ Softmax softmax
3 ‘output’ Classification Output crossentropyex with ‘tench’ and 999 other classes
I don’t need to replace Softmax layer.
Please help me creating the function of findLayersToReplace.
Thank you very much
Hana Razak Hello,
I’m trying the deep learning using googlenet and I don’t know how to solve the ‘findLayersToReplace’.
I tried this code but it give 3 layers instead of 2 layers that need to find.
layers = net.Layers(end-2:end);
layers =
3×1 Layer array with layers:
1 ‘loss3-classifier’ Fully Connected 1000 fully connected layer
2 ‘prob’ Softmax softmax
3 ‘output’ Classification Output crossentropyex with ‘tench’ and 999 other classes
I don’t need to replace Softmax layer.
Please help me creating the function of findLayersToReplace.
Thank you very much
Hana Razak deep-learning, googlenet, layers MATLAB Answers — New Questions
merging/uniting plots having multiple data
Hello,
I have 5 figures, and i need to merge them, the resulting fig must be from 2.2 to 30 GHz in axis, and in the y axis, the data must follow the previous one.
How can I do this with a code?
I wanted to copy them to excel in single columns, and plot at once. However excel does not accept the data due to a cell error in copy paste, so I need to do it in code. And may be a little smoothing of smooth(data,0.02).
Any help would be appreciated.Hello,
I have 5 figures, and i need to merge them, the resulting fig must be from 2.2 to 30 GHz in axis, and in the y axis, the data must follow the previous one.
How can I do this with a code?
I wanted to copy them to excel in single columns, and plot at once. However excel does not accept the data due to a cell error in copy paste, so I need to do it in code. And may be a little smoothing of smooth(data,0.02).
Any help would be appreciated. Hello,
I have 5 figures, and i need to merge them, the resulting fig must be from 2.2 to 30 GHz in axis, and in the y axis, the data must follow the previous one.
How can I do this with a code?
I wanted to copy them to excel in single columns, and plot at once. However excel does not accept the data due to a cell error in copy paste, so I need to do it in code. And may be a little smoothing of smooth(data,0.02).
Any help would be appreciated. merging plots, unite figs MATLAB Answers — New Questions
Hello authentication in apps always defaults to fingerprint
I have fingerprint, face and PIN Windows Hello authentication options set up. When logging in to Windows, Windows helpfully attempts to use facial recognition whilst at the same time activating the fingerprint sensor. This allows me to use either option to login (or revert back to PIN in case both fail).
However once logged in, some of my apps (such as password managers, browsers etc) also use Hello authentication. However, in these cases the Hello prompt seems to always immediately default to fingerprint, without attempting facial recognition. This includes when the laptop is in Tablet Mode, when fingerprint sensor is physically inaccessible. In all cases, to use facial recognition I have to click through the “more choices” menu in the dialog, which is a lot of extra clicks and defeats the purpose of facial recognition being relatively quick and straightforward.
Alternatively I can disable fingerprint entirely in settings. This forces Hello to attempt facial before reverting to PIN, but this is obviously not ideal as it leaves me without fingerprint login available across Windows.
Is there a setting or fix that makes Hello authentication for apps behave the same way as it helpfully does at the login screen, ie not default to fingerprint each time?
I have fingerprint, face and PIN Windows Hello authentication options set up. When logging in to Windows, Windows helpfully attempts to use facial recognition whilst at the same time activating the fingerprint sensor. This allows me to use either option to login (or revert back to PIN in case both fail). However once logged in, some of my apps (such as password managers, browsers etc) also use Hello authentication. However, in these cases the Hello prompt seems to always immediately default to fingerprint, without attempting facial recognition. This includes when the laptop is in Tablet Mode, when fingerprint sensor is physically inaccessible. In all cases, to use facial recognition I have to click through the “more choices” menu in the dialog, which is a lot of extra clicks and defeats the purpose of facial recognition being relatively quick and straightforward. Alternatively I can disable fingerprint entirely in settings. This forces Hello to attempt facial before reverting to PIN, but this is obviously not ideal as it leaves me without fingerprint login available across Windows. Is there a setting or fix that makes Hello authentication for apps behave the same way as it helpfully does at the login screen, ie not default to fingerprint each time? Read More
Copilot for Word
Hi There,
I’ve been playing around with Copilot for Microsoft 365 for quite sometime and I just have a quick question in regards to Copilot for Microsoft 365. Lets say I’m using Copilot for word and I ask Copilot to create a document for me and I review it and I click on regenerate because I’m not happy about the result that it created. So, my question is how many times can I ask Copilot to create new document for me? Is there a limit for that? For instance, I can click on it for 5 times and it will give me a different content everytime and beyond that it will return back to content which it created for me the first time. So, please let me know the limit here.
Hi There,
I’ve been playing around with Copilot for Microsoft 365 for quite sometime and I just have a quick question in regards to Copilot for Microsoft 365. Lets say I’m using Copilot for word and I ask Copilot to create a document for me and I review it and I click on regenerate because I’m not happy about the result that it created. So, my question is how many times can I ask Copilot to create new document for me? Is there a limit for that? For instance, I can click on it for 5 times and it will give me a different content everytime and beyond that it will return back to content which it created for me the first time. So, please let me know the limit here. Read More
How to fix View My Paycheck Not Working error in Q.B after update?
I’ve been experiencing issues with the “View My Paycheck” feature in Quick-Books. Employees can’t access their paychecks online, and I keep getting an error message. Has anyone else encountered this problem? Any solutions or tips would be greatly appreciated.
I’ve been experiencing issues with the “View My Paycheck” feature in Quick-Books. Employees can’t access their paychecks online, and I keep getting an error message. Has anyone else encountered this problem? Any solutions or tips would be greatly appreciated. Read More
How to Data Migration Services Online to Desktop in Q.B after update?
I need help migrating data from Quick-Books Online to Quick-Books Desktop. I’ve tried following various guides, but I’m facing errors and data inconsistencies. Has anyone successfully performed this migration? Any step-by-step advice or professional services recommendations would be greatly appreciated!
I need help migrating data from Quick-Books Online to Quick-Books Desktop. I’ve tried following various guides, but I’m facing errors and data inconsistencies. Has anyone successfully performed this migration? Any step-by-step advice or professional services recommendations would be greatly appreciated! Read More
how to record both video and unmixed audio of a group call
Hi,
I need to record a meeting’s video as well as unmixed audio stream of the call,
but it seems from the documentation, we can only either record a mixed audioVideo format, or an unmixed multi channel audio format, we can not do both at the same time, I tried to start recording on the same serverCallId 2 times with different format mentioned, that did not work,
is there any way to achieve what I want?
Hi,I need to record a meeting’s video as well as unmixed audio stream of the call,but it seems from the documentation, we can only either record a mixed audioVideo format, or an unmixed multi channel audio format, we can not do both at the same time, I tried to start recording on the same serverCallId 2 times with different format mentioned, that did not work,is there any way to achieve what I want? Read More
How to Data Migration Services Desktop to Online in Q.B after update?
I’m struggling with migrating data from Quick-Books Desktop to Quick-Books Online. The process seems complicated, and I want to ensure no data is lost. Has anyone successfully done this and can offer some guidance or tips? Thanks!
I’m struggling with migrating data from Quick-Books Desktop to Quick-Books Online. The process seems complicated, and I want to ensure no data is lost. Has anyone successfully done this and can offer some guidance or tips? Thanks! Read More
Encoding conditional assignments in SimBiology
Is it possible to define conditional assignments in SimBiology, i.e.
if a > 0
param1 = a + b
else
param1 = a + c
end
I am aware of events but it is insuffient as it lacks the ‘else’ expression.Is it possible to define conditional assignments in SimBiology, i.e.
if a > 0
param1 = a + b
else
param1 = a + c
end
I am aware of events but it is insuffient as it lacks the ‘else’ expression. Is it possible to define conditional assignments in SimBiology, i.e.
if a > 0
param1 = a + b
else
param1 = a + c
end
I am aware of events but it is insuffient as it lacks the ‘else’ expression. conditional, assignment MATLAB Answers — New Questions
Genetic Algorithm with a graph
function C = Myfunm(x)
C = – (14.9*100)/(x(1)^2-11.9723*x(1)+70.0051+10*cos((pi*x(1))/2)+8*sin(5*pi*x(1))-(exp(-((x(2)-0.5)^2)/2))/sqrt(5));
I solved this problem with the Genetic Algorithm and i want to present the graph which depicts the max solution depending on the number of generations. I don’t know how to plot the graph. Is there a certain tool or do i have to write a new code?function C = Myfunm(x)
C = – (14.9*100)/(x(1)^2-11.9723*x(1)+70.0051+10*cos((pi*x(1))/2)+8*sin(5*pi*x(1))-(exp(-((x(2)-0.5)^2)/2))/sqrt(5));
I solved this problem with the Genetic Algorithm and i want to present the graph which depicts the max solution depending on the number of generations. I don’t know how to plot the graph. Is there a certain tool or do i have to write a new code? function C = Myfunm(x)
C = – (14.9*100)/(x(1)^2-11.9723*x(1)+70.0051+10*cos((pi*x(1))/2)+8*sin(5*pi*x(1))-(exp(-((x(2)-0.5)^2)/2))/sqrt(5));
I solved this problem with the Genetic Algorithm and i want to present the graph which depicts the max solution depending on the number of generations. I don’t know how to plot the graph. Is there a certain tool or do i have to write a new code? maximazitaion, genetic algorithm MATLAB Answers — New Questions
how to perform matrix multiplication of a 4×4 and 4×11 matrices in simulink?
having trouble preforming a matrix multiplicationhaving trouble preforming a matrix multiplication having trouble preforming a matrix multiplication matrix multiplication MATLAB Answers — New Questions
How to convert from a function of frames to a function of time for radar board (Infineon Position2Go)?
Hi Matlab Community,
I am currently using Infineon’s Position2Go FMCW radar board for my project to measure instantaneous sprinting speed and walking speed. After extracting the raw data to Matlab, I noticed that the graphs I have are all as a function of Frames on the X axis. How can I convert them to a function of time (in seconds) instead?
My configs are as follows:
32 Chirps Per Frame
64 Samples Per Chirp
150ms Frame Interval
Does it mean that for every second, there are 6.66 Frames(1/150ms) ?Hi Matlab Community,
I am currently using Infineon’s Position2Go FMCW radar board for my project to measure instantaneous sprinting speed and walking speed. After extracting the raw data to Matlab, I noticed that the graphs I have are all as a function of Frames on the X axis. How can I convert them to a function of time (in seconds) instead?
My configs are as follows:
32 Chirps Per Frame
64 Samples Per Chirp
150ms Frame Interval
Does it mean that for every second, there are 6.66 Frames(1/150ms) ? Hi Matlab Community,
I am currently using Infineon’s Position2Go FMCW radar board for my project to measure instantaneous sprinting speed and walking speed. After extracting the raw data to Matlab, I noticed that the graphs I have are all as a function of Frames on the X axis. How can I convert them to a function of time (in seconds) instead?
My configs are as follows:
32 Chirps Per Frame
64 Samples Per Chirp
150ms Frame Interval
Does it mean that for every second, there are 6.66 Frames(1/150ms) ? infineon position2go frames seconds MATLAB Answers — New Questions
App running slowly after some time
I have an app that I built in MATLAB, a rather complex app with many complex features. I noticed that over time, the app becomes laggy and slow, with every graphical action taking more time than before. Is there a solution to this? or at least a way to understand why this happens?
many thanks
NathanI have an app that I built in MATLAB, a rather complex app with many complex features. I noticed that over time, the app becomes laggy and slow, with every graphical action taking more time than before. Is there a solution to this? or at least a way to understand why this happens?
many thanks
Nathan I have an app that I built in MATLAB, a rather complex app with many complex features. I noticed that over time, the app becomes laggy and slow, with every graphical action taking more time than before. Is there a solution to this? or at least a way to understand why this happens?
many thanks
Nathan app designer, appdesigner, lags, slow MATLAB Answers — New Questions
Return value based on criteria
Hi,
I need a formula that will find a matching value and return a record
Example
E6 = “SPA”
F6 = “3.23”
E13 = “SPA”
F13 = “3.23”
The formula will go into F13 and return “3.23”
For more on this see attached file:
Hi, I need a formula that will find a matching value and return a record Example E6 = “SPA”F6 = “3.23” E13 = “SPA”F13 = “3.23” The formula will go into F13 and return “3.23” For more on this see attached file: Find cells with value.xlsx Read More
External sharing mysteries
I am struggling to find out exactly how external sharing works. Our tenant is set to “New and existing guests” in the External Sharing settings in SharePoint Admin Center. But I am still allowed to share files in Teams with external users that are not Guest Users. And they can access and (if granted permission) edit the the file. But they can’t download the file.
How come Guest Users can access and edit files if they are neither new, nor existing guests? How come I am even able to share the files with unknown external users?
I am struggling to find out exactly how external sharing works. Our tenant is set to “New and existing guests” in the External Sharing settings in SharePoint Admin Center. But I am still allowed to share files in Teams with external users that are not Guest Users. And they can access and (if granted permission) edit the the file. But they can’t download the file. How come Guest Users can access and edit files if they are neither new, nor existing guests? How come I am even able to share the files with unknown external users? Read More
How to Resolve View My Paycheck Not Working After Update in Q.B
After a recent update, the “View My Paycheck” feature in Quick-Books stopped working. Employees are no longer able to access their paychecks online. What steps can I take to fix this issue?
After a recent update, the “View My Paycheck” feature in Quick-Books stopped working. Employees are no longer able to access their paychecks online. What steps can I take to fix this issue? Read More
How to Migrate Data from Quick-Books Online to Quick-Books Desktop on Windows 11
I’m looking to migrate my data from QBO to Q.B Desktop, and I’m using Windows 11. Can you provide step-by-step instructions or recommend any reliable services that can assist with this process?
I’m looking to migrate my data from QBO to Q.B Desktop, and I’m using Windows 11. Can you provide step-by-step instructions or recommend any reliable services that can assist with this process? Read More
How to write StateFcn in Nonlinear MPC Controller
Nowdays, I am doing some works about visual servoing. But there are some troubles with the nonlinear MPC Controller. I have read the example named ‘Control Quadruple-Tank Using Passivity-Based Nonlinear MPC’. There is a code nlobj.Model.StateFcn = "stateFcnQuadrupleTank".
I opened it, and the content shows as a picture as follows. It looks like the example uses code to express the dynamic system. I want to know if I can use a Simulink model, which is already done, to replace the code.
Thank a lot for your help!Nowdays, I am doing some works about visual servoing. But there are some troubles with the nonlinear MPC Controller. I have read the example named ‘Control Quadruple-Tank Using Passivity-Based Nonlinear MPC’. There is a code nlobj.Model.StateFcn = "stateFcnQuadrupleTank".
I opened it, and the content shows as a picture as follows. It looks like the example uses code to express the dynamic system. I want to know if I can use a Simulink model, which is already done, to replace the code.
Thank a lot for your help! Nowdays, I am doing some works about visual servoing. But there are some troubles with the nonlinear MPC Controller. I have read the example named ‘Control Quadruple-Tank Using Passivity-Based Nonlinear MPC’. There is a code nlobj.Model.StateFcn = "stateFcnQuadrupleTank".
I opened it, and the content shows as a picture as follows. It looks like the example uses code to express the dynamic system. I want to know if I can use a Simulink model, which is already done, to replace the code.
Thank a lot for your help! mpc, ibvs MATLAB Answers — New Questions
Is this a correct way to use fsolve?
Since fsolve keeps giving me answers with a very small but non-zero imaginary part, which i really don’t want, I though about giving the derivative of my function. Is this a correct way to do it? Also, is there a way to tell the function not to go outside the reale line?
%g is a function that is defined by an equation. I know that is invertible
%and takes values between 0 and kappa.
function g = g(y, z, p, kappa, beta, mu, muz, sigma, sigmaz)
K = (mu^2/sigma^2)*0.5;
M = (sigmaz*mu)/sigma;
q = 1/(p-1);
alpha = (sqrt((beta-M-K)^2+4*K*(beta-muz))-beta+M+K)/(2*K);
C = beta-K*p/(1-p);
%function whose zero i need to find (with respect to w)
F = @(w) ((1-p)/C)*(kappa^q – w^q)+y+z-z*(w/kappa)^(alpha-1);
%its derivative with respect to w
J = @(w) ((1-p)/C)*(-q*(w^(q-1))) -z*((alpha-1)*w^(alpha-2))/(kappa^(alpha-1));
options = optimoptions(‘fsolve’, ‘SpecifyObjectiveGradient’, true);
fun = {F, J};
w0 = kappa/2;
g = fsolve(fun, w0, options);
endSince fsolve keeps giving me answers with a very small but non-zero imaginary part, which i really don’t want, I though about giving the derivative of my function. Is this a correct way to do it? Also, is there a way to tell the function not to go outside the reale line?
%g is a function that is defined by an equation. I know that is invertible
%and takes values between 0 and kappa.
function g = g(y, z, p, kappa, beta, mu, muz, sigma, sigmaz)
K = (mu^2/sigma^2)*0.5;
M = (sigmaz*mu)/sigma;
q = 1/(p-1);
alpha = (sqrt((beta-M-K)^2+4*K*(beta-muz))-beta+M+K)/(2*K);
C = beta-K*p/(1-p);
%function whose zero i need to find (with respect to w)
F = @(w) ((1-p)/C)*(kappa^q – w^q)+y+z-z*(w/kappa)^(alpha-1);
%its derivative with respect to w
J = @(w) ((1-p)/C)*(-q*(w^(q-1))) -z*((alpha-1)*w^(alpha-2))/(kappa^(alpha-1));
options = optimoptions(‘fsolve’, ‘SpecifyObjectiveGradient’, true);
fun = {F, J};
w0 = kappa/2;
g = fsolve(fun, w0, options);
end Since fsolve keeps giving me answers with a very small but non-zero imaginary part, which i really don’t want, I though about giving the derivative of my function. Is this a correct way to do it? Also, is there a way to tell the function not to go outside the reale line?
%g is a function that is defined by an equation. I know that is invertible
%and takes values between 0 and kappa.
function g = g(y, z, p, kappa, beta, mu, muz, sigma, sigmaz)
K = (mu^2/sigma^2)*0.5;
M = (sigmaz*mu)/sigma;
q = 1/(p-1);
alpha = (sqrt((beta-M-K)^2+4*K*(beta-muz))-beta+M+K)/(2*K);
C = beta-K*p/(1-p);
%function whose zero i need to find (with respect to w)
F = @(w) ((1-p)/C)*(kappa^q – w^q)+y+z-z*(w/kappa)^(alpha-1);
%its derivative with respect to w
J = @(w) ((1-p)/C)*(-q*(w^(q-1))) -z*((alpha-1)*w^(alpha-2))/(kappa^(alpha-1));
options = optimoptions(‘fsolve’, ‘SpecifyObjectiveGradient’, true);
fun = {F, J};
w0 = kappa/2;
g = fsolve(fun, w0, options);
end fsolve, complex values, jacobian MATLAB Answers — New Questions
How chromosome in Genetic Algorithms Toolbox works in detailed
Hello,
I need answers about constitution of the chromosomes, their length, coding of chromosome in detail, crossover and mutation process. Generally, how it works in detailed Maybe on example or code please. In GA toolbox documentation does not specify how the GA determines the length of the chromosome and encodes variable???
Thanks
RadekHello,
I need answers about constitution of the chromosomes, their length, coding of chromosome in detail, crossover and mutation process. Generally, how it works in detailed Maybe on example or code please. In GA toolbox documentation does not specify how the GA determines the length of the chromosome and encodes variable???
Thanks
Radek Hello,
I need answers about constitution of the chromosomes, their length, coding of chromosome in detail, crossover and mutation process. Generally, how it works in detailed Maybe on example or code please. In GA toolbox documentation does not specify how the GA determines the length of the chromosome and encodes variable???
Thanks
Radek genetic algorithm, chromosome MATLAB Answers — New Questions