Réponse apportée
Why does surf print image to screen so much faster than contourf?
Probably because contourf() has to slice the dataset to calculate the coordinates of the contours plots, whereas surf() can dire...

plus de 8 ans il y a | 0

Réponse apportée
行列(列ベクトル)の値をグラフ化
これはいかがでしょうか X = rand(512, 1); figure; plot(X, 1:numel(X))

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
Arduino and Simulink not working together over serial
The block <https://www.mathworks.com/help/supportpkg/arduino/ref/serialreceive.html> is used to receive data from the serial por...

plus de 8 ans il y a | 0

Réponse apportée
Arduino and Simulink not working together over serial
Here is an example of code on the Arduino side that casts at float into an array of bytes then sends it over the serial port. ...

plus de 8 ans il y a | 1

Réponse apportée
How can I input an array into ode45?
You cannot directly input an array of initial conditions to ode45. It might be possible to define a function handle solveOne(y0)...

plus de 8 ans il y a | 0

Réponse apportée
Hello every body ...I have two PDEs as governing equation for timoshenko beam and three boundary equations ...How can I make it's model by Matlab??
As KSSV mentioned, there is a closed-form solution of this system. If you still want to solve it numerically, have a look the do...

plus de 8 ans il y a | 0

Réponse apportée
How to model two-rack-one-pinion coupling in Simscape Multibody?
Seems like you have a geometric loop with incompatible constraints. Try to break the geometric loop by commenting out one of the...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
smdoc_compound_link
I don't know why the command is now working, but you can open a similar model with the following command. sm_compound_b...

plus de 8 ans il y a | 0

Réponse apportée
Code documentation neural networks
This might be useful too <https://www.mathworks.com/help/nnet/examples.html?s_cid=doc_ftr>

plus de 8 ans il y a | 0

Réponse apportée
What is keyword to delete unnecessary element in binary image
Look here for a list of image filtering functions. <https://www.mathworks.com/help/images/image-enhancement-and-restoration.h...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Code documentation neural networks
<https://www.mathworks.com/help/nnet/getting-started-with-neural-network-toolbox.html Getting Started with Neural Network Toolbo...

plus de 8 ans il y a | 0

Réponse apportée
How do I write a code that keeps all the even numbers in a vector and deletes all the odd numbers?
This is how you test if an integer is even. isEven = @(x) mod(x, 2) == 0 isEven(1) isEven(2)

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Simscape: High priority position target not achieved
In test_actuators/Engine+Actuator, replace Revolute Joint I and Revolute Joint II with Spherical Joints. You don't have enough d...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
I have to make monitoring system of real time pressure and temperature sensor data. how i can do it with matlab and what are the other hardware components i need?
The following demo might be relevant. <https://www.mathworks.com/videos/plotting-live-data-of-a-temperature-sensor-using-ardu...

plus de 8 ans il y a | 0

Réponse apportée
Hi. I would like to ask you in the tranfer function that the numerator can be larger than the denominator ? Because I see in simulink i can not create a tranfer function like that
In MATLAB you can create arbitrary transfer functions, with a numerator degree greater than the denominator degree. This is forb...

plus de 8 ans il y a | 0

Réponse apportée
How can i build a 3D surface through slices?
There is a demo of 3D reconstruction on file exchange. <http://www.mathworks.com/matlabcentral/fileexchange/1713-three-dimens...

plus de 8 ans il y a | 0

Réponse apportée
How do I manually input a group of coordinates, then add them to a scatter plot?
Use the <https://www.mathworks.com/help/matlab/ref/scatter.html scatter()> command to create a scatter plot. After the plot is ...

plus de 8 ans il y a | 0

Réponse apportée
Is an H-bridge not needed when using the DC motor from Simscape Powersystems?
I assume that you are talking about the "Brushless DC Motor Drive" block in Simscape/power systems/specialized technology/elect...

plus de 8 ans il y a | 0

Réponse apportée
the problem of image segementation
In this problem, you are not interested in the value of the minimum distance itself, but in where the minimum distance occurs in...

plus de 8 ans il y a | 0

Réponse apportée
Convert 1st gen Simulink Multibody to 2nd gen
You can use the <https://www.mathworks.com/matlabcentral/fileexchange/62763-simscape-multibody-1g-conversion-assistant Simscape ...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
Time dependent resistance using SimScape Electrical foundation library
Implement the calculation routine in Simulink, then connect it to a <https://www.mathworks.com/help/physmod/simscape/ref/variabl...

plus de 8 ans il y a | 0

Réponse apportée
How to improve the speed of Matlab numerical integral?
If you have the parallel computing toolbox, you run can run your calculations in parallel using a parfor loop.

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
Finding min values in structure array
First, convert the age data from string to numeric, and concatenate it into an array. ageArray = arrayfun(@(x) str2double(x...

plus de 8 ans il y a | 0

Réponse apportée
How can I reduce the error in this PID controlled stepper motor position control model?
To reduce the static error, try to increase the integral gain of your PID. If this does not work, please upload your Simscape fi...

plus de 8 ans il y a | 0

Réponse apportée
The problem with measuring the force in a planar joint
Simscape is having a hard time calculating the forces because the model is over constrained. The moving tray (RAMA) has 6 degree...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How to rotate a body around x-axis in simscape?
Insert a rigid transform before and after the revolute joint. The first transform rotates +90 degree around the Y axis, while th...

plus de 8 ans il y a | 4

| A accepté

Réponse apportée
Simscape Thermal Liquid Pipe Outlet Temperature Discrepancy
The Pipe block from the foundation domain in its actual implementation does not model temperature gradients. If you open the hel...

plus de 8 ans il y a | 0

Réponse apportée
output ports on Weld block?
The Weld Joint block now supports sensing. <http://www.mathworks.com/help/physmod/sm/ug/sense-internal-forces-in-double-pendu...

plus de 8 ans il y a | 0

Réponse apportée
Using vpaintegral to calculate integrations.
Since you are looking for a numerical solution, a workaround to speed up the calculation is to convert the symbolic function int...

plus de 8 ans il y a | 0

Réponse apportée
please suggest me how can i simulate these equation from these figure? i am unable to simulate delayed time varying signal and also unable to simulate stochastic plant with time varying control signal in simulink (matlab2013b)?
This is a simple example of how you can <https://blogs.mathworks.com/simulink/2008/05/23/how-to-draw-odes-in-simulink/ solve dif...

plus de 8 ans il y a | 0

Charger plus