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

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

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.

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

### 2

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

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

### 0

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

### 1

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

### 2

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

### 1

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

| 採用済み

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

### 1

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

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

| 採用済み

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

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

### 0

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

### 0

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

### 1

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

8年以上 前 | 0 件の回答 | 0

### 0

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

8年以上 前 | 0 件の回答 | 0

### 0

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?

8年以上 前 | 0

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

8年以上 前 | 2 件の回答 | 1

### 2

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

8年以上 前 | 0

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

8年以上 前 | 1 件の回答 | 0

### 1

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

8年以上 前 | 0 件の回答 | 0

### 0

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

8年以上 前 | 0

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

8年以上 前 | 0

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

8年以上 前 | 0

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

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

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