Answered
I can not create my executable, since I am using the command for symbole variables "syms".
You cannot use Symbolic Math Toolbox functionality with MATLAB Compiler. It is an ineligible product. If you tell us or show ...

7 years ago | 0

Answered
Converting a table of mixed numeric-string content to an array
I recommend using writetable instead of using xlswrite. You can tell writetable to write to a spreadsheet file.

7 years ago | 0

Answered
I have to define ||Z||2,1 in matlab programming form.
Use the norm function to compute the 1-norm or 2-norm of a matrix or vector.

7 years ago | 1

Answered
ode45 with two 2nd order differential equation
See the Higher-Order ODEs example on this documentation page and use the technique it illustrates to turn your system of two sec...

7 years ago | 0

Answered
color plot arguments questions
That is using the plot(___,Name,Value) syntax where ___ is replaced by phi, eta * abs(J). 'Color' is listed in the Name-Value Pa...

7 years ago | 1

| accepted

Answered
i need R2011a_patch_1098655 to start 2011a
Please contact Technical Support using the telephone icon in the upper-right corner of this page and ask what to do to resolve b...

7 years ago | 0

Answered
How I do find PLP on Matlab 7?
See this Answer.

7 years ago | 0

Answered
Function converts numbers from command line to ASCII value
You're calling your function in command form. test 12345 This is equivalent to the following function form: test('12345') Se...

7 years ago | 1

| accepted

Answered
Apply Function to a Variable in Timetable
I want to multiply the entire column 'Latitude', which is the 3rd column in my data set, by -1. That's easy and doesn't require...

7 years ago | 1

| accepted

Answered
Uneven spacing between texts in command window?? help!!!
In the Environment section of the Home tab of the Toolstrip, select Preferences. Navigate to the Fonts item under MATLAB. What f...

7 years ago | 1

Answered
Double installation of one Matlab 2018 Student version
Before your first laptop dies, follow these instructions to deactivate MATLAB on that laptop, then install and active MATLAB on ...

7 years ago | 0

Answered
create y using x, without loop
This is complicated code, but it does satisfy the "one line, no loop" requirement. You will need to substitute 102 for the desir...

7 years ago | 3

Answered
I want to create a function that integrates
Let's address your questions in turn. First, why "Not enough input arguments"? intCP Not enough input arguments. Error in int...

7 years ago | 0

Answered
where is alphaShape and alphaTriangulation M-Fucntion from my MATLAB Software ?
They are built-in functions for which we don't distribute the source code. The alphaShape.m and alphaTriangulation.m files you s...

7 years ago | 0

Answered
Working with data sets (column vectors) of different length assembled into a matrix
We may be better able to suggest an approach for you to use in storing your data if we knew how you were planning on processing ...

7 years ago | 0

Answered
Missing `suptitle` and `writeVideo` functions
If you're using release R2018b or later, use the sgtitle function instead of the suptitle function that is part of the Bioinform...

7 years ago | 2

Answered
one function-handle for one function-handle f with g = doublethefun(f) as separate function file
You want doublethefun to return a function handle whose output is double the output of the function handle it receives as input?...

7 years ago | 0

| accepted

Answered
several p-code dates are older than m files
Can you check that you haven't defined a function named str2double or cell2mat that is shadowing the ones included in MATLAB? w...

7 years ago | 0

Answered
reordernode when called in function crashes, but runs in command line
It works fine when I try it. Can you clarify what "it doesn't run" means? Does it throw an error (and if so what is the full tex...

7 years ago | 0

Answered
The directory path window has somehow gone from the interface. What to do?
In the Enviroment section of the Home tab of the Toolstrip, click the small triangle below the Layout button. Move the mouse to ...

7 years ago | 2

Answered
Working on truss, but outputs are a bit off.
When I define a vector to contain your expected results and compute A*x-b, the residuals are quite large. expected = [1414.21; ...

7 years ago | 0

Answered
Many inputs according to user's wish
Since you say you're doing this in the context of a GUI, use inputdlg instead of calling input repeatedly.

7 years ago | 0

| accepted

Answered
I do I get rid of my getwhosinformation dialog that pops up all the time?
What gets displayed when you run the following line of code? which -all workspacefunc Do you see a function by that name in a ...

7 years ago | 0

| accepted

Answered
Error using sym/subsindex Invalid indexing or function definition. Indexing must follow MATLAB indexing.
What would you expect the value of x to be after running these three lines of code? Which of the elements of rho should be store...

7 years ago | 0

Answered
ODE45 Unable to perform assignment because the left and right sides have a different number of elements.
T is a vector (a 2-by-1 vector, in this case.) Because T is used in computing k and Q_g, k and Q_g are also vectors. FYI you pr...

7 years ago | 0

| accepted

Answered
How to caculate a value for a step - the previous step
If you have numbered variables (which you shouldn't) then it will be painful. If you have elements in an array, it's easy. x =...

7 years ago | 0

Answered
Text3D Invalid use of operator
This function cannot be used directly in a MATLAB script, function, or class. It can only be used in a MuPAD Notebook or by eval...

7 years ago | 0

Answered
How to detect abrupt changes in an array with condition?
Asking for ischange on your small data set without any options indicates that every point other than the first is a change point...

7 years ago | 0

Answered
How to determine whether any elements of an array are a certain a number
First, the == operator is for comparing two arrays element-wise. A = magic(3); A == (10-A) % Only returns true for the 5 insid...

7 years ago | 0

Answered
Fastest way to find number of times a number occurs in an array?
Are you looking for the size of regions in an image? If so calling regionprops from Image Processing Toolbox on your label matri...

7 years ago | 1

Load more