Answered
How to transform struc/field data to single matrix with specific columns
What about using <http://www.mathworks.it/it/help/matlab/ref/struct2cell.html struct2cell?>

nästan 10 år ago | 0

Answered
cycling through both linestyle and linecolor
you can do it by setting the line order style. Here an example: set(gca,'linestyleorder',{'-',':','-.','--','*','+'},... ...

nästan 10 år ago | 0

Question


Plot a map with a specific scale
Hi all, I have a long gps track and I need to make several maps of the track. Unfortunately all the maps must have a specifi...

nästan 10 år ago | 1 answer | 0

1

answer

Answered
my animation of four bar mechanism is not moving it is a still image ,what could be the possible reasons ? also why are the cg's out of the rod as shown in image ?
Check the position CoG CSs. Regarding the movement of the 4 bar linkage, have you plotted the data from the Joint sensor? What i...

nästan 10 år ago | 0

| accepted

Answered
wat does the following error mean?
Hi, you can solve this problem by making the CSs coincident of the bodies linked with the revolute joint.

nästan 10 år ago | 0

| accepted

Question


Programmatically generation of a PDF file report of some calculations?
Hi all, I need to get an automatic report of some calculations on a PDF file. In the PDF there should some text and some pict...

nästan 10 år ago | 1 answer | 0

1

answer

Question


how generating evenly spaced vectors with overlap?
Hi all, I need to generate evenly spaced vectors with overlap. How can I do it? Here an example: Input: [0 5 10 15 20]; ...

nästan 10 år ago | 1 answer | 0

1

answer

Question


Why is the estimated distribution truncanted?
Hi all, I'm trying to fit some data with a distribution. I have used a Weibull distribution to fit the data and I used the d...

nästan 10 år ago | 1 answer | 0

1

answer

Answered
subtraction and multiplication of two arrays
As you did: A=0.3*(t-T) but in your example t and T are equal, so the result is an array full of zeros

nästan 10 år ago | 0

Question


inverse function of zscore?
Hi all, is there any inverse function of zscore?

nästan 10 år ago | 2 answers | 0

2

answers

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

nästan 10 år ago | 0

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

nästan 10 år 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.

nästan 10 år 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...

nästan 10 år 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 ...

nästan 10 år 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 ...

nästan 10 år 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...

nästan 10 år 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) = ...

nästan 10 år 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...

nästan 10 år 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...

nästan 10 år 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...

nästan 10 år 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))

nästan 10 år ago | 0

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

nästan 10 år 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

ungefär 10 år 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...

ungefär 10 år 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...

ungefär 10 år 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 ...

ungefär 10 år 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...

ungefär 10 år 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...

mer än 10 år 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?

mer än 10 år ago | 0

Load more