A résolu


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

environ 8 ans il y a

A résolu


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

environ 8 ans il y a

A résolu


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

environ 8 ans il y a

A résolu


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

environ 8 ans il y a

A résolu


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

environ 8 ans il y a

Réponse apportée
Why is Simulink so quiet like a ghost?
This actually comes from your Windows Sound settings, if you turn off your Windows Default Beep then your simulation wont make a...

environ 8 ans il y a | 0

Réponse apportée
How can I export Simulink scope to M file and get the step response?
On every signal in Simulink you can look at its properties and log the data. The data then appears in MATLAB Worskpace. See logg...

environ 8 ans il y a | 0

Réponse apportée
How can I add chart in a specific sheet in an excel workbook via Matlab?
There are a few ways of doing this: - If you use MATLAB Spreadsheet link <https://nl.mathworks.com/products/excellink/ Spread...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How to do a fft from a sine signal with hanning function
MATLAB has awesome help. If you type doc fft You should get a nice page with examples that should be enough to get you ...

environ 8 ans il y a | 0

Réponse apportée
Someone already tried to create an interface from MATLAB with XFLR5?
I am not sure if this is what you were looking for: <https://nl.mathworks.com/matlabcentral/fileexchange/30478-rafael-aero-xf...

environ 8 ans il y a | 1

Réponse apportée
how to use trained dataset in my java code?
In R2016b you can actually call a MATLAB session from a java program (if you have MATLAB on the same machine): <https://nl.mathw...

environ 8 ans il y a | 1

Réponse apportée
How do we start to build a MATLAB model for battery?
There is a great discovery page to help you through this: <https://nl.mathworks.com/discovery/battery-models.html Model batte...

environ 8 ans il y a | 0

Réponse apportée
How to iterate creating matrices that are not altered by previous results?
I am not sure if I understand your questions but using: <https://nl.mathworks.com/help/matlab/ref/mean.html mean> you can ...

environ 8 ans il y a | 0

Réponse apportée
How do i make print the variable name for a certain variable
myw=who; now all you need to do is cycle through the values of the variables and return the myw.name(ind)

environ 8 ans il y a | 1

Réponse apportée
Convert date to specific format julian date
Datetime works nicely. I believe it came out in R2014b. <https://nl.mathworks.com/help/matlab/ref/datetime.html see the Datet...

environ 8 ans il y a | 2

| A accepté

Réponse apportée
How do i make print the variable name for a certain variable
If I understand you correctly you would like to print a the content of a variable. a = 2;b = 3;c = a*b;disp(c)

environ 8 ans il y a | 0

Problème


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

environ 8 ans il y a | 0 | 86 solveurs

A résolu


Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.

environ 8 ans il y a

A résolu


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

environ 8 ans il y a

A résolu


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

environ 8 ans il y a

A résolu


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

environ 8 ans il y a

A résolu


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

environ 8 ans il y a

A résolu


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

environ 8 ans il y a

A résolu


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

environ 8 ans il y a

A résolu


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

environ 8 ans il y a

A résolu


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

environ 8 ans il y a

Réponse apportée
Hello, Any solution to run Python files through Matlab simultaneously ?
Yes, you can call Python from MATLAB: <https://nl.mathworks.com/help/matlab/call-python-libraries.html?searchHighlight=python Ca...

environ 8 ans il y a | 1

Réponse apportée
Real time vector saving
If I understand you correctly you have a stateflow chart, in which one state you are calculating some parameters for a polyfit a...

environ 8 ans il y a | 0

Réponse apportée
How to include constraint for pdepe solution (e.g., u>0)
<http://nl.mathworks.com/help/symbolic/piecewise.html Piecewise function> In R2016b one can use the Piecewise function. I hop...

environ 8 ans il y a | 0

Réponse apportée
How to insert image in MatLab
<https://nl.mathworks.com/help/matlab/ref/imagesc.html Imagesc function>

environ 8 ans il y a | 0

Charger plus