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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

Question


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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 0

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 2 answers | 1

2

answers

Question


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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 0

| accepted

Question


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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Answered
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?

10 years ago | 0

Question


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

10 years ago | 2 answers | 1

2

answers

Answered
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

10 years ago | 0

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0

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

10 years ago | 0

Answered
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

10 years ago | 0

Solved


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

11 years ago

Solved


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

11 years ago

Question


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

11 years ago | 0 answers | 0

0

answers

Load more