Answered
channel flow of multiple gases (look for toolbox)
<https://www.mathworks.com/help/physmod/simscape/physical-modeling.html>

ungefär 6 år ago | 0

Answered
2d function in 3d
<https://www.mathworks.com/help/matlab/2-and-3d-plots.html>

ungefär 6 år ago | 0

Answered
Measure simulink step time
Use the <https://www.mathworks.com/help/simulink/ug/examine-solver-behavior-using-solver-profiler.html Solver Profiler>.

ungefär 6 år ago | 2

Answered
MATLAB 2017b Download question
You can display the help by manually typing help comm

ungefär 6 år ago | 0

Answered
getfield() error when calling on multiple fields: "Struct contents reference from a non-struct array object"
Which version of MATLAB are you using? The documentation says that getfield() can access nested fields, not that you can retriev...

ungefär 6 år ago | 1

| accepted

Answered
fmincon should return a scalar value error
fmincon() crashed because it expected the objective function to return a scalar value but got something that was not a scalar. ...

ungefär 6 år ago | 3

| accepted

Answered
I can't Aerospace Blockset
For installation problems, contact the install support team <support@mathworks.com> . Do you have a license for the Aerospace...

mer än 6 år ago | 0

Answered
How can I expand a complex number in Real + i*Imaginary parts using symbolic variables?
Not sure if it is what you are trying to do, but you can extract the real and imaginary parts of an expression using the real() ...

mer än 6 år ago | 0

Answered
Error with symbolic integral: Input arguments must be convertible to floating-point numbers
All arguments of the max() function must be convertible to floating point (numeric) numbers. You cannot use max() with purely sy...

mer än 6 år ago | 3

| accepted

Answered
Is there a way to access the underlying model/script of a Simulink/Simscape component?
Unfortunately the function plotting the I-V curve is compiled, which means that you cannot access its source code. There is no w...

mer än 6 år ago | 2

| accepted

Answered
Add Reset Function to Simscape Integrator Block
I am not a Simscape developer, but from what I know Simscape will not let you manually reset integrators. A work around is to us...

mer än 6 år ago | 0

Answered
Help on hydraulic actuator controller(pid)
If is just a problem if interfacing a Simulink PID with a Simscape valve, there are Simulink-PS Converter blocks to do that.

mer än 6 år ago | 0

Answered
Simscape Physical Signal: Why does is exist?
Simulink signals are causal signals with a sampling rates. Simscape physical signals are variables with time derivatives. These ...

mer än 6 år ago | 0

| accepted

Answered
How do I effectively search through a matrix that represents pixels of an image?
You could vectorize the inner loop using find()

mer än 6 år ago | 0

Answered
How to design a pneumatic cylinder in Simulink ??
Pneumatic systems are modeled using the gas domain from the Simscape Foundation library. <https://www.mathworks.com/help/physmo...

mer än 6 år ago | 0

| accepted

Answered
Using Cell Arrays in Interpolants
There is a problem with your last snippet of code. Here is how you should correct it. testcell = {[1;3]; [2; 4]}; F(test...

mer än 6 år ago | 1

| accepted

Answered
Performing calculation with multiple conditions with for loop and nested if statements
This code is working fine. Are your sure you loaded T1 properly? As KSSV mentioned, you do not need a for loop to do this calcu...

mer än 6 år ago | 1

| accepted

Answered
How can I get 3 decimals placeś ine the table?
Set the column type to char, and use sprintf to format the numbers with the desired number of decimal places. app.UITable.C...

mer än 6 år ago | 0

| accepted

Answered
How to display data against time and location (coordinates)
You can control the color of the scatter points using the c parameter of the scatter() function. <https://www.mathworks.com/hel...

mer än 6 år ago | 0

Answered
can anybody please explain me that how can i write the label and make shadow in the region? i have an example attached here
To plot the shadow. <https://www.mathworks.com/help/matlab/ref/area.html> To add text to your plot <https://www.mathwor...

mer än 6 år ago | 1

Answered
what the loop or function to display each item?
What about something like this? numbers = randi(100, 1,10); for k=1:numel(numbers) disp(numbers(k)) pa...

mer än 6 år ago | 0

Answered
Why I am getting empty sym for vpasolve?
Since thetac is an array of 15 elements, you are trying to solve a system of 15 incompatible equations, therefore, there is no a...

mer än 6 år ago | 0

| accepted

Answered
Solving a non-standard ODE
Create a interpolation of r(t), for example using interp1(), then use the interpolation routine in an ODE solver.

mer än 6 år ago | 0

Answered
Recommended books on machine learning?
<https://www.mathworks.com/campaigns/products/offer/machine-learning-with-matlab.html Machine Learning with MATLAB>

mer än 6 år ago | 0

Answered
I am getting an error 'Dimensions of matrices being concatenated are not consistent' I have attached the m-files. Thank you for your help:)
In the RHS function, the size of parameter3 is 1x28. You probably need to correct your code so that its size is 1x1. Maybe this ...

mer än 6 år ago | 0

Answered
what makes the discharging energy of the capacitor is higher than that already has been charged?
_its clear the discharging has more power than charging_ There is no physical problem with the discharging power being greate...

mer än 6 år ago | 0

| accepted

Answered
How can I model a massless connector in simscape 2nd generation?
There is no equivalent of the Spherical-Spherical connector in the second generation. Such joint would lead to numerical problem...

mer än 6 år ago | 0

| accepted

Answered
Reduce reduce the number of for loops?
Vectorize your code <https://www.mathworks.com/help/matlab/matlab_prog/vectorization.html>

mer än 6 år ago | 0

Answered
SimukinkでCAN通信を取り扱えるか
SimulinkでCAN通信するにはVehicle Network Toolboxが必要です。 <https://www.mathworks.com/discovery/can-network.html>

mer än 6 år ago | 2

Load more