已回答

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>

6 years 前 | 0

已回答

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

6 years 前 | 2

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 1

| 已接受

已回答

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

6 years 前 | 3

| 已接受

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 3

| 已接受

已回答

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

6 years 前 | 2

| 已接受

已回答

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

6 years 前 | 0

已回答

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.

6 years 前 | 0

已回答

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

6 years 前 | 0

| 已接受

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 0

| 已接受

已回答

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

6 years 前 | 1

| 已接受

已回答

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

6 years 前 | 1

| 已接受

已回答

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

6 years 前 | 0

| 已接受

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 1

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 0

| 已接受

已回答

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.

6 years 前 | 0

已回答

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>

6 years 前 | 0

已回答

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>

6 years 前 | 0

已回答

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

6 years 前 | 0

已回答

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

6 years 前 | 0

| 已接受

已回答

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

6 years 前 | 0

| 已接受

已回答

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>

6 years 前 | 0

已回答

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>

6 years 前 | 2