답변 있음
Allocating 500 matrices into one 3D array with a loop
Use S = load('your_mat_file'); To load your data into a structure S, Then loop over the fields of S. fields = fiel...

대략 7년 전 | 1

| 수락됨

답변 있음
How can I plot histogram ?
<https://www.mathworks.com/help/matlab/ref/histogram.html>

대략 7년 전 | 0

답변 있음
how can purchase MATLAB 2013a student suite for my application
Please contact MathWorks sales support <https://www.mathworks.com/company/aboutus/contact_us/contact_sales.html>

대략 7년 전 | 0

답변 있음
How can i draw a circle and how to draw arrow line?
<https://www.mathworks.com/help/matlab/ref/line.html> <https://www.mathworks.com/help/matlab/ref/quiver.html>

대략 7년 전 | 1

| 수락됨

답변 있음
Transistors and other active components absent from Simulink Library
Do you have a license for Simscape Electronics? Transistor blocks are part of the Simscape Electronics library, not the Simscape...

대략 7년 전 | 0

| 수락됨

답변 있음
Programmatically generating Simulink models from symbolic equations
# Convert the symbolic functions to MATLAB functions and generate .m files using the <https://www.mathworks.com/help/symbolic/ma...

대략 7년 전 | 1

| 수락됨

답변 있음
Is it possible to update the parameters of a Simscape block using the output of another block in Simulink?
So you want to change the breakaway friction torque during the simulation. I think the simplest way to do that is to create a cu...

대략 7년 전 | 0

답변 있음
can accelerometer detect the gravitational force on a body?
If you look at the documentation of the Accelerometer block, you find this: _For the default output type Voltage level, the a...

대략 7년 전 | 1

답변 있음
How to define a symbolic function that receives a vector?
You could use an anonymous function to call f x = sym('x', [3 1]) test = sym('test', [3 1]) f = symfun([x(1) 2 -x(1...

대략 7년 전 | 0

답변 있음
Install Arduino library to Matlab
You can install a new library as a <https://www.mathworks.com/help/supportpkg/arduinoio/custom-arduino-libraries.html Custom Add...

대략 7년 전 | 0

| 수락됨

답변 있음
from m-file to mex-file
There are limitation when using function handles with MATLAB coder. The documentation here should help you to fix the problem...

대략 7년 전 | 0

| 수락됨

답변 있음
solve Fourth Order Difference Equation:X(n+4)+X(n+3)-3*X(n+2)-5*X(n+1)+2*X(n)=0,with Initial conditions:X(0)=1,X(1)=0,X(2)=1,X(3)=2
Replace C=A\B; with C = double(A)\B; The symbolic toolbox does not return the expected solution because the mat...

대략 7년 전 | 0

답변 있음
How to solve dependent PDEs
<https://www.mathworks.com/help/matlab/math/partial-differential-equations.html>

대략 7년 전 | 0

답변 있음
what is the purpose of clear S when converting a struct2cell?
The purpose is to remove previous instances of s. This way you are sure to start from an empty struct.

대략 7년 전 | 0

답변 있음
How to input a physical signal with measured temperature, pressure and mass flow to a simscape model?
I assume that you are using the thermal liquid domain for your model. You can impose the temperature of the fluid using a Reserv...

대략 7년 전 | 0

답변 있음
How can i add nonlinear spring in my Simscape model
The nonlinear rotational spring is a Simscape Mechanical Rotational block, whereas the rest of your model uses Simscape Multibod...

대략 7년 전 | 0

| 수락됨

답변 있음
Converting from Matlab output to C++
Convert the symbolic function to a .m file using <https://www.mathworks.com/help/symbolic/matlabfunction.html matlabFunction()>....

대략 7년 전 | 0

답변 있음
Matching "From" for "Goto" 'untitled/Controlled Voltage Source/Goto' not found
If you just move up a little bit the resistor block in this model you will see it is not connected to the Capacitor block. This ...

대략 7년 전 | 0

답변 있음
solve larger than 3x3 matrix and error message
_how do I expand this for larger matrices._ use for loops _how to i write the code such that if the system is unsolvabl...

대략 7년 전 | 0

답변 있음
how to use the str2num for the whole array at once
How about this? A = {'1', '2', '3'} B = cellfun(@str2num, A)

대략 7년 전 | 4

답변 있음
getting errors while Copying imported model from solidworks into a new simulink model
The model needs a variable "smiData" which is missing. Look for the code that imports or creates this variable.

대략 7년 전 | 0

| 수락됨

답변 있음
How to interpolate a non-uniform 3D gridded data to an uniform 3D gridded data?
Create a uniform grid Xi, Yi, Zi, then use <https://www.mathworks.com/help/matlab/ref/griddata.html#inputarg_x griddata> to inte...

대략 7년 전 | 0

| 수락됨

답변 있음
How can I do this in MATLAB?
This is how you solve a non-stiff ODE <https://www.mathworks.com/help/matlab/math/solve-nonstiff-odes.html Solve Nonstiff ODE...

대략 7년 전 | 0

답변 있음
how to calculate rate of change of accelerator pedal position?
<https://www.mathworks.com/help/simulink/slref/derivative.html>

대략 7년 전 | 0

| 수락됨

답변 있음
k-means clustering using CUDA gpu with MATLAB programming
Here is the documentation about GPU computing in MATLAB <https://www.mathworks.com/help/distcomp/gpu-computing.html>

대략 7년 전 | 0

답변 있음
Error Using ode45, trying to call a function into ode45? please help
There is an error in duf = [... @yfunction-y(3) ... ] You are calling @yfunction without any argument. The correct synta...

대략 7년 전 | 0

답변 있음
Fitting Data to a Prescribed Equation
If I am correct, what you are trying to do is to fit a nonlinear model to a data set. The MATLAB command to do that is <https://...

대략 7년 전 | 0

답변 있음
Find the position of objects in two dimensions XY
The relevant toolboxes are the <https://www.mathworks.com/help/images/examples.html?s_cid=doc_ftr Image Processing Toolbox> and ...

대략 7년 전 | 0

답변 있음
Question on fmincon in formulating a constrained optimization
fmincon() seems to be the right choice. The constraints on the intermediate results can be specified as nonlinear constraints in...

대략 7년 전 | 0

| 수락됨

더 보기