Answered
Symbolic solve/linsolve GUI Compiler - ERROR
Symbolic Math Toolbox is not eligible for use with MATLAB Compiler. Use matlabFunction to generate one or two function files tha...

7 years ago | 0

Answered
How change the colormap on heatmap??
Change the Colormap property of the heatmap, either when you construct the heatmap: h = heatmap(magic(5), 'Colormap', copper);...

7 years ago | 1

| accepted

Answered
Cannot zoom into figures
Flavv, The name view already has a meaning in MATLAB. The zoom function (which is called when you use the zoom button in the Fi...

7 years ago | 0

Answered
return many value in function.
k1_1= sum(data{1:10,{'Var1'}})/10 k1_2= sum(data{1:10,{'Var2'}})/10 k1_3= sum(data{1:10,{'Var3'}})/10 k1_4= sum(data{1:10,{'V...

7 years ago | 2

Answered
how can i sum
Are the -1 values just indicators that there is data missing? If so, I'd replace them with NaN values and call sum with the 'omi...

7 years ago | 0

Answered
Is the 2007b release of MATLAB fully supported software?
Please send this question to Customer Service using the telephone icon in the upper-right corner of this page for an official an...

7 years ago | 0

Answered
MATLAB syntax (parantheses without intermediate steps)
That intermediate step isn't necessary in this case, since you're using a release that supports the 'all' dimension input argume...

7 years ago | 0

Answered
Asking User a Question with Variables
For this you could use num2str as JESUS DAVID ARIZA ROYETH posted, but I'd prefer either creating a string array to pass to the ...

7 years ago | 0

Answered
how to use large numbers
Use Symbolic Math Toolbox. Be careful not to perform computations in double that result in values greater than flintmax and then...

7 years ago | 0

Answered
Problem solving laser rate equations with ode45 command
Your initial condition vector is: y0 = [0,0,0,0]; What happens when you evaluate your ODE function at t = 0 and this y0 vector...

7 years ago | 1

Answered
Not enough input arguments. Error in dcdtnstiff (line 8) dc=[-0.13*c(1)-1000*c(1)*c(3);-2500*c(2)*c(3);-0.013*c(1)-1000*c(1)*c(3)-2500*c(2)*c(3)];
Don't call ode45 to operate on dcdtstiff from within dcdtstill itself. Remove the last three lines from your dcdtstiff function,...

7 years ago | 0

Answered
ode45 : Unable to perform assignment because brace indexing is not supported for variables of this type
Let's step through your code section by section. clc clear all close all Many people start their code with these three lines...

7 years ago | 1

Answered
Attempt to execute SCRIPT requiresNeuralToolbox as a function:
The Description section of that function's documentation pages states "Use of this function requires Deep Learning Toolbox™." L...

7 years ago | 0

Answered
Error using odearguments (line 95) returns a vector of length 2, but the length of initial conditions vector is 3. The vector returned by function and the initial conditions vector must have the same number of elements.
Are you trying to control the times at which ode23 returns the solutions of your ODEs to make them more finely spaced? If so, do...

7 years ago | 0

Answered
Can Matlab R2018b support Microsoft Visual studio 2010 to set up as C MEX Compiler?
According to the System Requirements page for previous releases, Microsoft Visual C++ 2010 is not listed as a supported compiler...

7 years ago | 0

| accepted

Answered
Clean Timetable with Missing, Duplicate, or Nonuniform Times in Matlab 2016a
Use the techniques described in the version of that page included in the documentation in your local installation of release R20...

7 years ago | 0

Answered
Not enough input arguments
Do not put the ode45 call inside the same function you're passing into ode45. At best you receive an error like the one you rece...

7 years ago | 0

| accepted

Answered
Semilog function problem, cannot get a figure
When you use the syntax "f(E) = something" with a numeric array E you're trying to set the elements of f whose indices are store...

7 years ago | 0

| accepted

Answered
How to get actual value instead of answer in terms of exp and pi as a output in matlab program
If you want to perform the calculations symbolically but then receive a double precision or numeric result, call double (if your...

7 years ago | 0

| accepted

Answered
Weird Calculation difference using uint16 and double for an image
d = [1 2 1]; u = uint16(d); dd = diff(d) du = diff(u) The smallest value you can store in an unsigned 16-bit integer is 0. I...

7 years ago | 0

| accepted

Answered
MATLAB normalize function shadowed by DSP toolbox normalize function
Can you confirm that MATLAB is using the version from DSP System Toolbox and not the one from MATLAB or that you've created or d...

7 years ago | 0

| accepted

Answered
How do I fix this! I just started to learn about it
I suspect you tried to start your GUI by opening the figure file (double-clicking on it perhaps?) You need to start a GUIDE GUI ...

7 years ago | 0

Answered
Disp() is not showing the whole sentence in the command window
Your param_table is likely a struct whose name field contains a cell array. >> jjj = 1; >> param_table.name{1} = 'DEATH_AGE_AV...

7 years ago | 1

| accepted

Answered
Hello!! Does anyone know how to type " | " on a keyboard on windows pc?
It depends on which keyboard layout you're using. On my QWERTY keyboard, I press and hold Shift and then the key on the far righ...

7 years ago | 0

Answered
I need to have eigenvalues of this matrix including symbols "m" and "n"
For this particular case, it looks like the structure of the problem actually makes this not too bad to compute. I tried both wi...

7 years ago | 0

Answered
Loading a saved deep learning network into matlab
According to the documentation page for the vgg19 function "This function requires Deep Learning Toolbox™ Model for VGG-19 Netwo...

7 years ago | 1

Answered
Putting equasion to matlab
Both of log10(20) and cos(20) are real, so the input to sin is also real. [If you're working in degrees, you should use sind and...

7 years ago | 0

| accepted

Answered
ODE45, simple events
check = (y~=0); You don't want to check only for y actually touching the ground. If the ODE solver were to evaluate your functi...

7 years ago | 1

| accepted

Answered
chol() say matrix is not positive defnite even though all eigenvalues are positive
You're not factorizing the matrix you think you're factorizing. From the documentation for the chol function: "If A is nonsymmet...

7 years ago | 0

| accepted

Answered
Am I misusing hist/histogram?
As the note at the top of the documentation page for the hist function states, hist is not recommended. Use histogram (or if you...

7 years ago | 0

Load more