Answered

channel flow of multiple gases (look for toolbox)

<https://www.mathworks.com/help/physmod/simscape/physical-modeling.html>

channel flow of multiple gases (look for toolbox)

<https://www.mathworks.com/help/physmod/simscape/physical-modeling.html>

más de 4 años ago | 0

Answered

2d function in 3d

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

2d function in 3d

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

más de 4 años 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>.

Measure simulink step time

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

más de 4 años ago | 2

Answered

MATLAB 2017b Download question

You can display the help by manually typing help comm

MATLAB 2017b Download question

You can display the help by manually typing help comm

más de 4 años 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...

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

más de 4 años 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. ...

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

más de 4 años 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...

I can't Aerospace Blockset

For installation problems, contact the install support team <support@mathworks.com> . Do you have a license for the Aerospace...

más de 4 años 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() ...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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.

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.

más de 4 años 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 ...

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

más de 4 años 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()

How do I effectively search through a matrix that represents pixels of an image?

You could vectorize the inner loop using find()

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años 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.

Solving a non-standard ODE

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

más de 4 años ago | 0

Answered

Solve the following ordinary differential equation subject to initial condition y(0)=1. Use the Runge Kutta 4th order method, and hence find the value of y when t=0.5.

<https://www.mathworks.com/help/matlab/ref/ode45.html>

Solve the following ordinary differential equation subject to initial condition y(0)=1. Use the Runge Kutta 4th order method, and hence find the value of y when t=0.5.

<https://www.mathworks.com/help/matlab/ref/ode45.html>

más de 4 años ago | 0

Answered

Recommended books on machine learning?

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

Recommended books on machine learning?

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

más de 4 años 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 ...

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

más de 4 años 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...

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

más de 4 años 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...

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

más de 4 años ago | 0

| accepted

Answered

Reduce reduce the number of for loops?

Vectorize your code <https://www.mathworks.com/help/matlab/matlab_prog/vectorization.html>

Reduce reduce the number of for loops?

Vectorize your code <https://www.mathworks.com/help/matlab/matlab_prog/vectorization.html>

más de 4 años ago | 0

Answered

SimukinkでCAN通信を取り扱えるか

SimulinkでCAN通信するにはVehicle Network Toolboxが必要です。 <https://www.mathworks.com/discovery/can-network.html>

SimukinkでCAN通信を取り扱えるか

SimulinkでCAN通信するにはVehicle Network Toolboxが必要です。 <https://www.mathworks.com/discovery/can-network.html>

más de 4 años ago | 2