已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

| 已接受

已回答
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 ...

10 years 前 | 0

已回答
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...

10 years 前 | 1

已回答
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...

10 years 前 | 1

已回答
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...

10 years 前 | 0

已回答
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 ...

10 years 前 | 0

已回答
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)

10 years 前 | 1

已回答
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...

10 years 前 | 2

| 已接受

已回答
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)

10 years 前 | 0

问题


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

10 years 前 | 0 | 102 个解题者

已解决


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.

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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.

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已解决


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

10 years 前

已回答
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...

10 years 前 | 1

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

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

10 years 前 | 0

加载更多