Statistics
RANK
1
of 294.407
REPUTATION
136.584
CONTRIBUTIONS
37 Questions
60.309 Answers
ANSWER ACCEPTANCE
48.65%
VOTES RECEIVED
18.458
RANK
of 20.109
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How do you get a variable to recognized in function
function [C,D]=GetUserInput() That code does not mean that variables C and D are to be set in the calling context. MATLAB outpu...
ongeveer 4 uur ago | 0
How to extract specific information from a table, an output when fitlm() function in sued
Store the result of fitlm() in a variable, such as mdl Access the Rsquared property of the variable such as mdl.Rsquared This...
ongeveer 10 uur ago | 0
Is there any way to perform an at least partially symbolic smulation (using ODE or discrete model) in simulink?
If you turn rapid acceleration off, and use coder.extrinsic then you can include symbolic calculations within any one MATLAB Fun...
ongeveer 10 uur ago | 0
Name is nonexistent or not a directory
Give the commands restoredefaultpath; rehash toolboxcache savepath
ongeveer 10 uur ago | 0
Use the plot function to set the curve transparency
plot() has no documented ability to specify RGBA, or transparency in any form. Modern versions of plot() have an undocumented a...
ongeveer 23 uur ago | 0
expressing the complex function
You can use real() and imag(), but they will not help much. A problem is that you do not constrain x or t to be real-valued, so...
ongeveer 23 uur ago | 0
How do I convert a decimal number of months to a datetime format?
decmonths = [9.545563 22.212227]; offsets = calmonths(floor(decmonths)) + days(decmonths - floor(decmonths)) base = datetime...
ongeveer 24 uur ago | 0
| accepted
Plotting data dependent on three independent variables.
Use scatteredInterpolant() to compute a resultant surface with three independent inputs. Use isosurface() or slice() to plot th...
2 dagen ago | 0
Only the first if-statement block executes,
if 0 <= alpha <= pi/2 MATLAB interprets that as if ((0 <= alpha) <= pi/2) the first part, 0 <= alpha, produces a logical valu...
2 dagen ago | 0
| accepted
Display Image to a specific Monitor
get(0,'MonitorPositions') will return a list of [StartX, StartY, Width, Height] coordinates. You would access the StartX and ...
3 dagen ago | 0
| accepted
How can you close a busy/unavailable serial port object that was created with "serialport" if a script crashes without properly closing it?
serialportfind has been supported since R2024a.
3 dagen ago | 0
Standalone Matlab App Runtime Error
The function https://www.mathworks.com/help/stateflow/ref/boolean.html boolean() is part of stateflow, which cannot be compiled....
4 dagen ago | 0
how to enable mex detect the C/C++ compiler (integrated in Visual Studio 2022) on older MATLAB (R2018b) ?
My matlab version is 2018b, and visual studio version is 2022. MATLAB R2018b has no support for VS 2018 or later. https://www....
4 dagen ago | 0
How can I keep the first two elements from CSV values in a string
FilteredData = regexp(YourTable.ColumnName, '^[^,]+(,\s+[^,]+)?', 'match', 'once');
4 dagen ago | 0
Can a student license be used on multiple computers at a same time R2024a Version?
fullfile(matlabroot, 'license_agreement.txt') 1. License Options 1.1. Individual License Option (i) The Individual Li...
4 dagen ago | 0
Can I use my gpu to fasten my multiobjective optimization using gamultiobj?
In order to use GPU inside of parallel computations you would need to have one distinct GPU for each parallel computation. It i...
5 dagen ago | 1
| accepted
Dot indexing is not supported for variables of this type.
Change Conv = Aspen.Tree.FindNode("\Data\Results Summary\Run-Status\Output\PER_ERROR").Value; %Convergence to ConvNode = Aspe...
7 dagen ago | 1
| accepted
how to draw a peak line
mask = islocalmaximum(YourSignal); peak_times = YourSignalTimes(mask); peak_values = YourSignal(mask); plot(peak_times, pea...
7 dagen ago | 0
Error code line 19 with my Y=f(x), equation used is x^3+x^2-4x-4
equation used is x^3+x^2-4x-4 X=[x0 x1 x2]; Y=f(X); You are passing a vector of X values to f. You have coded x^3+x^2-4x-4 ex...
7 dagen ago | 0
| accepted
The code returns a value in the form of "theta_3b(x, z) =.". How can I get this to return just theta_3b=
theta_3b = vpa(subs(theta_3b, {x,y,z}, {X,Y,Z})); fprintf('theta_3b = %s\n', char(theta_3b))
9 dagen ago | 0
Convert string to 256 Characters
TEXT = sprintf('%256s', 'Unformatted Data Version='); fprintf(FILEID, "%s\n", TEXT)
9 dagen ago | 0
Number of bits per symbol (m) range in Reed-Solomon coding
What am I supposed to do if I want to construct a message with length of 20 (as an example) and each symbol has bit (i.e., 0 or ...
9 dagen ago | 0
what is the process to store the "gaborMag,[]" into a variable like x?
I suspect that you are asking how to store the output of imshow(gaborMag,[]); into a variable such as x. The answer is gM_sc...
9 dagen ago | 0
How to effectively solve the problem of incompatibility of AppDesigner using symbol toolkit syms after packaging and publishing into exe and other executable files?
Break your code up into pieces. In the first piece, write your symbolic calculations in terms of constants and symbolic variabl...
9 dagen ago | 0
Can I call a function from another function and not come back?
You have a small number of possibilities: set(0,'RecursionLimit',N) -- change the recusion limit write a third function that...
13 dagen ago | 0
| accepted
How to turn a movie into a gif?
Before the for i loop insert filename = 'Output.gif'; Change F(i)=getframe; to F(i)=getframe; if i == 1; SZ = size(F(...
13 dagen ago | 0
waitfor( ) isn't working for a SerialPort
waitfor(app.PicoCom, 'NumBytesAvailable', 0); % wait until it's REALLY done
14 dagen ago | 0
| accepted
Error using plot Invalid data argument.
I would guess that you need plot(categorical(x), y) and plot(categorical(x), z)
14 dagen ago | 0
"Unable to compute number of steps from 0 to n by 1" error for symbolic integration
syms z positive syms b positive %... F(z,u_f,lam_f,sigma,ep,b,d)=vpaintegral(nCk(n,0:n,z),alpha,b, z); You are trying to vpa...
15 dagen ago | 0