Risolto


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...

circa 8 anni fa

Risolto


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

circa 8 anni fa

Risolto


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

circa 8 anni fa

Risolto


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

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risposto
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...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 0

| accettato

Risposto
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 ...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 1

Risposto
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...

circa 8 anni fa | 1

Risposto
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...

circa 8 anni fa | 0

Risposto
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 ...

circa 8 anni fa | 0

Risposto
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)

circa 8 anni fa | 1

Risposto
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...

circa 8 anni fa | 2

| accettato

Risposto
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)

circa 8 anni fa | 0

Problema


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

circa 8 anni fa | 0 | 85 risolutori

Risolto


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.

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risolto


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 ...

circa 8 anni fa

Risolto


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.

circa 8 anni fa

Risolto


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; ...

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risolto


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...

circa 8 anni fa

Risposto
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...

circa 8 anni fa | 1

Risposto
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...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 0

Risposto
How to insert image in MatLab
<https://nl.mathworks.com/help/matlab/ref/imagesc.html Imagesc function>

circa 8 anni fa | 0

Carica altro