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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 2

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

Carica altro