Risposto
How to pick the j-th percentile of a distribution?
You're on right, Thanks

oltre 11 anni fa | 0

Risposto
How can I plot the border of multiple plots
Here an example: figure plot([1:3],[1:3]) box on

oltre 11 anni fa | 0

Risposto
script to create simulink model for high pass filter and low pass filter
Try to build the desidered simulink model and then generate the matlab code for it. Then you just need copy and paste the code.

oltre 11 anni fa | 0

Domanda


How to pick the j-th percentile of a distribution?
Hi all, I have some data and I want to pick the j-th percentile of the distribution. Here an example: a=2000; b=3...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Risposto
Any idea to convert numerics to symbolic ?
You can use the symbolic toolbox. Here an example: syms z,x z=3*x; y=subs(z1,{3},{a}) With a workaround I think you ...

oltre 11 anni fa | 0

Domanda


How to solve file permission problem after using excel activeX functions?
Hi all, I have a script where I make some computations and I copy all the results in a excel file. Moreover I want to nicely ...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


How to vectorize the following code?
Hi all, How can I vectorize the following code? a=struct('cycles',[]) a(1).cycles=[rand(15,20]; a(2).c...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


How to check if a 3d matrix has any 2D submatrix with non zero elements?
Hi all, I have a 3D matrixnd I need to check if it has any sub 2D matrix with non zero elements. a(:,:,1) = ...

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


How to vectorize this code with logical idexing
Hi all, I have the following code, how can I avoid the for to make it faster? a=[10:5:50]; b=[10:20:50]; c=rand(s...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
How to use a position dependent oriifce with variable area slot (SIMHYDRAULICS)
Hi, you can get the rod position using a motion sensor, convert the position with PS-S converter, make the calculation for compu...

oltre 11 anni fa | 0

| accettato

Domanda


How to vectorize this code?
Hi all, I need to vectorize the following code in order to make it faster: ar=[ 115 139 168; 133 160...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Risposto
comparing the missing value
Here one solution: a= [3 4 5 1 9 2 0]; b= [4 0 5 9 1 2]; b=b(find(ismember(a,intersect(a,b))==0))

quasi 12 anni fa | 0

Risposto
Ploting with axes exactly
Hi, try this: dailypoints=rand(30*2,1); figure plot(dailypoints) date=datestr(size(dailypoints)); set(gca,...

quasi 12 anni fa | 0

| accettato

Risposto
How do I visualize a deformed beam?
Hi think it should help: http://www.mathworks.it/it/help/matlab/volume-visualization.html

quasi 12 anni fa | 0

Domanda


How to display the legend entry through the datatip?
Hi all, I have 30 arrays plotted on a figure with respect the same x data. I display the legend but it's very hard to unders...

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


What are the best practices in parameter estimation through optimization toolbox?
Hi all, I am using simscape to estimate the parameters of a simscape model using the optimization toolbox and I have few que...

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


How getting the probability density estimation for positive data?
Hi all, I need to find the probability density estimation and the cumulative distribution of the following set of data using ...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Elimination of transition portion of a sampled logical channel
Hi all, I have some sampled signals measured from the CAN-Bus. It's a logical channel, it ranges from 0 to 12, only integer n...

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


How to use evalRequirement with decresing step?
Hi all, I have a simscape model and I need to tune the parameters in order to match the desidered step response from a manun...

circa 12 anni fa | 0 risposte | 0

0

risposte

Risposto
Contact modeling between two bodies
Hi Ryan, Thanks for your reply, nice idea. What about using a saturation block so I will not have any dynamic problems?

circa 12 anni fa | 0

Domanda


Contact modeling between two bodies
Hi all, I have two DOFs model of a lumped system. It's something similar to a quarter car model. <<http://control.ee.eth...

circa 12 anni fa | 2 risposte | 1

2

risposte

Risposto
Discharge of a costant volume chamber
Hi, solved the problem....it was due to a temperature difference between the chamber and the line. Thanks for your help

circa 12 anni fa | 0

Domanda


Discharge of a costant volume chamber
Hi all, I'm modelling the discharge of a pressurized constant volume chamber at a specific temperature in the pneumatic doma...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Simscape pneumatic: how to get normal flow rate?
Hi all, I have developed a pressure regulator valve model and I need to get model parameters from manunfacturer datasheet. I...

circa 12 anni fa | 0 risposte | 0

0

risposte

Risposto
Initialization failed in very simple simscape model
have you tried to connect the damper to the ground as well?

oltre 12 anni fa | 0

Risposto
how to change the response time of the simscape convective heat transfer?
What do you mean for response time?

oltre 12 anni fa | 0

Risposto
How to model a rolling wheel in SimMechanics (second generation)?
Hi, unfortunately I can't help you, but may you explain me how can i do that with simmechanics 1st gen? thanks

oltre 12 anni fa | 0

Risolto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

oltre 12 anni fa

Risolto


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

oltre 12 anni fa

Domanda


Problems with a non linear thermal convection block
Hi all, I have developed my own speed dependent convection block. At the end of the message you can see the code. I get ...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Carica altro