Feeds
已回答
Different color scale?
caxis([0 0.3]); That is affecting the current axis. caxis([0 0.5]); That too is affecting the current axis. Which app...
Different color scale?
caxis([0 0.3]); That is affecting the current axis. caxis([0 0.5]); That too is affecting the current axis. Which app...
6 hours 前 | 0
已回答
reshape data to fit into surf/contour
You cannot do that. Consider using https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data ...
reshape data to fit into surf/contour
You cannot do that. Consider using https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data ...
14 hours 前 | 0
已回答
How fmincon really work?
fmincon() always tries to minimize the result of the objective function. If the objective function returns negative values, then...
How fmincon really work?
fmincon() always tries to minimize the result of the objective function. If the objective function returns negative values, then...
15 hours 前 | 0
已回答
How to get PWM on digital outputs pins of NI-6052E DAQ card?
Use a single Digital Output (Single Scan) block https://www.mathworks.com/help/daq/digitaloutputsinglesample.html Configure i...
How to get PWM on digital outputs pins of NI-6052E DAQ card?
Use a single Digital Output (Single Scan) block https://www.mathworks.com/help/daq/digitaloutputsinglesample.html Configure i...
15 hours 前 | 0
已回答
I have made a code which runs on matlab online but shows an error when run on my local pc
In R2022b, R2023a, and R2023b, https://www.mathworks.com/help/releases/R2023b/audio/ref/speech2text.html has a different calling...
I have made a code which runs on matlab online but shows an error when run on my local pc
In R2022b, R2023a, and R2023b, https://www.mathworks.com/help/releases/R2023b/audio/ref/speech2text.html has a different calling...
18 hours 前 | 0
已回答
vpasolve doesn't work with roots for some equations
vpasolve((-1.2068e+21*x - 2.0765e+20)^(1/2)==-2.2185e+10,x) The left hand side involves a square root. The right hand side invo...
vpasolve doesn't work with roots for some equations
vpasolve((-1.2068e+21*x - 2.0765e+20)^(1/2)==-2.2185e+10,x) The left hand side involves a square root. The right hand side invo...
21 hours 前 | 0
| 已接受
已回答
Matlab ilaplace not working properly
syms s sol = ilaplace(40/(s*(2*s^3 + s^2 + 6*s + 2))) disp(char(sol)) fullsol = rewrite(rewrite(sol, 'expandsum'), 'expandroo...
Matlab ilaplace not working properly
syms s sol = ilaplace(40/(s*(2*s^3 + s^2 + 6*s + 2))) disp(char(sol)) fullsol = rewrite(rewrite(sol, 'expandsum'), 'expandroo...
21 hours 前 | 0
已回答
I am trying to store all the values of (f) and all the corresponding peaks of the resulting wave in two columns and then plot f vs. peaks, but there is a problem.
findpeaks() is returning different numbers of peaks for each frequency. clc clear all tspan = [0 5]; Ic = 0; A=1; resu...
I am trying to store all the values of (f) and all the corresponding peaks of the resulting wave in two columns and then plot f vs. peaks, but there is a problem.
findpeaks() is returning different numbers of peaks for each frequency. clc clear all tspan = [0 5]; Ic = 0; A=1; resu...
2 days 前 | 0
已回答
how to plot cross hatch over correlation map?
In https://www.mathworks.com/matlabcentral/answers/2141881-how-to-make-a-specific-bar-to-be-hatched-with-a-specific-color#commen...
how to plot cross hatch over correlation map?
In https://www.mathworks.com/matlabcentral/answers/2141881-how-to-make-a-specific-bar-to-be-hatched-with-a-specific-color#commen...
2 days 前 | 0
已回答
Hi, how do I fix the error using superiorfloat? I've tried using double() for the subs() like I've seen suggested before but that caused an error.
eomFunc=odeFunction([thetadot,NOFFEOM],[theta,thetadot],mu,R,m,k); The syntax of odeFunction requires that the third parameter ...
Hi, how do I fix the error using superiorfloat? I've tried using double() for the subs() like I've seen suggested before but that caused an error.
eomFunc=odeFunction([thetadot,NOFFEOM],[theta,thetadot],mu,R,m,k); The syntax of odeFunction requires that the third parameter ...
3 days 前 | 1
| 已接受
已回答
Identifying Boundary Nodes in a Point Cloud
Your red nodes are sometimes immediately adjacent to your blue nodes. There is no way you will be automatically able to differen...
Identifying Boundary Nodes in a Point Cloud
Your red nodes are sometimes immediately adjacent to your blue nodes. There is no way you will be automatically able to differen...
3 days 前 | 0
已回答
Matlab 2024a not starting after Mac OS Sonoma 15.1 Update
I recently upgraded to MacOS Sequoia 15.1.1 (a day after upgrading to 15.1). I am now getting this message for all MATLAB versio...
Matlab 2024a not starting after Mac OS Sonoma 15.1 Update
I recently upgraded to MacOS Sequoia 15.1.1 (a day after upgrading to 15.1). I am now getting this message for all MATLAB versio...
4 days 前 | 0
已回答
hello Dear!! I'm a new coming in the community I want your help. about coding on MATLAB does the code is correct ? or the using of (&&) is no faire? and how can I correct it? thank you for respond .
if app.LikeCheckBox.Value==true app.EditField.Value='you Like our channal' elseif app.LikeCheckBox.V...
hello Dear!! I'm a new coming in the community I want your help. about coding on MATLAB does the code is correct ? or the using of (&&) is no faire? and how can I correct it? thank you for respond .
if app.LikeCheckBox.Value==true app.EditField.Value='you Like our channal' elseif app.LikeCheckBox.V...
4 days 前 | 0
已回答
Solve 𝑔 ′ ( 𝑥 ) = 0 for z in terms of N, a positive integer
Let's try... Q = @(v) sym(v); syms f(x) g(x) G(z) syms z positive syms N integer assumeAlso(N, 'positive'); g(x) = 4*N*s...
Solve 𝑔 ′ ( 𝑥 ) = 0 for z in terms of N, a positive integer
Let's try... Q = @(v) sym(v); syms f(x) g(x) G(z) syms z positive syms N integer assumeAlso(N, 'positive'); g(x) = 4*N*s...
5 days 前 | 0
已回答
I want to draw pathline for two particle for a 2d problem
When you use griddedInterpolant, then your x must have all of its columns the same, and the row values must be sorted. Your y mu...
I want to draw pathline for two particle for a 2d problem
When you use griddedInterpolant, then your x must have all of its columns the same, and the row values must be sorted. Your y mu...
5 days 前 | 1
已回答
plot csv with column names used automatically as x and y label
data = readtable("results.csv","TextType","string"); plot(data, data.Properties.VariableNames(1), data.Properties.VariableNames...
plot csv with column names used automatically as x and y label
data = readtable("results.csv","TextType","string"); plot(data, data.Properties.VariableNames(1), data.Properties.VariableNames...
5 days 前 | 0
| 已接受
已回答
How could I make a script for this ecuation where i can solve for f?
syms f epsilon D Re Q = @(v) sym(v); eqn = 1/sqrt(f) == -Q(2.0) * log(epsilon/D/Q(3.7) + Q(2.51)/(Re*sqrt(f))) F = solve(eqn,...
How could I make a script for this ecuation where i can solve for f?
syms f epsilon D Re Q = @(v) sym(v); eqn = 1/sqrt(f) == -Q(2.0) * log(epsilon/D/Q(3.7) + Q(2.51)/(Re*sqrt(f))) F = solve(eqn,...
5 days 前 | 0
已回答
find intervals for both B and C which make the exponential function F converge to some points.
There is no point in calculating most of the F values since we are only interested in convergence. So we only test the last few ...
find intervals for both B and C which make the exponential function F converge to some points.
There is no point in calculating most of the F values since we are only interested in convergence. So we only test the last few ...
5 days 前 | 0
| 已接受
已回答
Attempting to interpolate with interp2 and getting errors about the sample point vector?
[x, y] = meshgrid(0:0.01:1, 0:0.01:1); x = [0 1 1 0]; y = [0 0 1 1]; You are overwriting the grids of data produced by meshgr...
Attempting to interpolate with interp2 and getting errors about the sample point vector?
[x, y] = meshgrid(0:0.01:1, 0:0.01:1); x = [0 1 1 0]; y = [0 0 1 1]; You are overwriting the grids of data produced by meshgr...
6 days 前 | 1
已回答
GPU programming for Mac M1
If I recall correctly, someone posted indicating that they had generated mex C++ code that calls into Apple's GPU routines, and ...
GPU programming for Mac M1
If I recall correctly, someone posted indicating that they had generated mex C++ code that calls into Apple's GPU routines, and ...
6 days 前 | 1
已回答
Deciding when to call a Matlab function: Within my symbolic math code, or within my converted numerical code?
Typically you compute in two phases: Symbolic-only phase. Everything that is changeable is generalized as a symbolic variable. ...
Deciding when to call a Matlab function: Within my symbolic math code, or within my converted numerical code?
Typically you compute in two phases: Symbolic-only phase. Everything that is changeable is generalized as a symbolic variable. ...
7 days 前 | 0
| 已接受
已回答
translation of Simulink generated integers into a 1-D vector
If you have a fixed number of values to process at a time, use the DSP Toolbox buffer blocks, https://www.mathworks.com/help/dsp...
translation of Simulink generated integers into a 1-D vector
If you have a fixed number of values to process at a time, use the DSP Toolbox buffer blocks, https://www.mathworks.com/help/dsp...
7 days 前 | 0
| 已接受
已回答
How to make vectors A1, A2,... A127. Rolling time window.
If you have the Signal Processing Toolbox, you might as well use buffer() https://www.mathworks.com/help/signal/ref/buffer.html...
How to make vectors A1, A2,... A127. Rolling time window.
If you have the Signal Processing Toolbox, you might as well use buffer() https://www.mathworks.com/help/signal/ref/buffer.html...
7 days 前 | 0
已回答
How to find the point the graph crosses the x axis
if x(1) == 0 crossing_location = 1; elseif x(1) < 0 %crossing from negative to positive crossing_location = find...
How to find the point the graph crosses the x axis
if x(1) == 0 crossing_location = 1; elseif x(1) < 0 %crossing from negative to positive crossing_location = find...
7 days 前 | 1
已回答
Trying to create a power factor correction system but no data shows
You have Physical Signals. You need to convert them before Scope. https://www.mathworks.com/help/simscape/ref/pssimulinkconverte...
Trying to create a power factor correction system but no data shows
You have Physical Signals. You need to convert them before Scope. https://www.mathworks.com/help/simscape/ref/pssimulinkconverte...
7 days 前 | 0
已回答
Cant show plot on a graph matlab GUI
selectedFunction = app.DropDown.Value; That is going to reply with a character vector even if the Items was initial...
Cant show plot on a graph matlab GUI
selectedFunction = app.DropDown.Value; That is going to reply with a character vector even if the Items was initial...
7 days 前 | 0
已回答
Is there a way to find the lengths of the contours in fcontour or other?
You can request the ContourMatrix property of the FunctionContour object returned by fcontour . The ContourMatrix contains infor...
Is there a way to find the lengths of the contours in fcontour or other?
You can request the ContourMatrix property of the FunctionContour object returned by fcontour . The ContourMatrix contains infor...
7 days 前 | 0
已回答
Error in state of SceneNode
txt = sprintf('$T=%.1f^{\\circ}$C'); This will not be an actual degree symbol, but it is close. The LaTeX interpreter does no...
Error in state of SceneNode
txt = sprintf('$T=%.1f^{\\circ}$C'); This will not be an actual degree symbol, but it is close. The LaTeX interpreter does no...
8 days 前 | 0
已回答
Need help writing a matlab function.
A deliberately clumsy implementation: function appropriate_element_to_return = hw4_problem3(w, n) array_being_indexed = w; ...
Need help writing a matlab function.
A deliberately clumsy implementation: function appropriate_element_to_return = hw4_problem3(w, n) array_being_indexed = w; ...
9 days 前 | 0