**Statistics**

**MATLAB Answers**

**28** Questions

**0** Answers

RANK**14,110**

of 265,489

REPUTATION**2**

CONTRIBUTIONS

**28** Questions

**0** Answers

ANSWER ACCEPTANCE **
78.57%
**

VOTES RECEIVED**2**

RANK

of 18,135

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116,837

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Iterate (repeat) a for-loop n times.

Hello. I am trying to repeat the for-loop n times. The point is that I want to take the values computed in the first iteratio...

3 years ago | 1 answer | 0

### 1

answerQuestion

Gradual area change (gradual contraction). Pressure loss

Hello, I am interested in how to define correction factor for gradual contraction coefficient as shown here: http://se.mathw...

6 years ago | 1 answer | 0

### 1

answerQuestion

Finite element analysis in Matlab

Hello, Is it possible to import to Matlab 3D modells from Autodesk Inventor to perform FEM analysis? Is it even possible to pe...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to nest functions?

Hello, I have a function. Then I want to create another function and use the value of the first function to compute the second ...

6 years ago | 1 answer | 0

### 1

answerQuestion

Arithmetic operations with units

Hello, Is it possible to perform arithmetic operations with units? This function is available in Mathcad. Do we have simil...

7 years ago | 3 answers | 0

### 3

answersQuestion

Rayleigh probability density function

Hello! In Mathworks example of Rayleigh probability density function, they define scale parameter B as B=0.5. I would like to ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Computed values of a function reiterates in Command window.

Hello, I have the following problem. After running this function (parameters(1:30)) function [p, v, a] = parameters(t) ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Is it possible to perform integration from zero to inf in Matlab?

Hello, I have two data vectors and would like to integrate their product from zero to infinity. Is it even possible and how? ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to execute script based on input data gotten from another script?

Hello! I have two scripts, and I want to execute the second one based on data gotten from the first one. How do I do this? ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to compute and plot Raleigh distribution for mean wind speed values?

Hello, I got a problem with approximation of probability of mean wind speed. I have a set of data of mean wind speed for each ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to separate all negative and all positive values of a vector?

Hello, I baffled by one task in Matlab, namely I need to create two vectors that contains all positive and all negative values ...

7 years ago | 3 answers | 2

### 3

answersQuestion

How to write for-loop?

Hello, Is it possible to create a for-loop which evaluates mean values of 12 (in my case) vectors, which has different dimensio...

7 years ago | 1 answer | 0

### 1

answerQuestion

Probability distribution for a mean wind speed

Hello, I have a data of mean wind speed over defined area sampled for 10 last years. I would like to plot a Weibull distribut...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to create a vector (or number?) with predefined mean and stdv (Standard deviation)?

Hello, I would like to know how to create a vector (or number if possible)with predefined mean and std? Lets say that I need a...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to define cross points for two graphs

Hello, I have a problem to find cross points of two graphs. Here it is my script: x_1=[-3 2 4 7 9]; x_2=[-4 -1 3 6 8]; y_1=...

7 years ago | 0 answers | 0

### 0

answersQuestion

How to define the value of "t" from function f(t)

Hello, I have a function f(t)=exp(-0.01*t.^2).*cos(2.*t) where 't' is a function handle (f=@t) I need to define '...

7 years ago | 1 answer | 0

### 1

answerQuestion

Center mass and total mass of a matrix

Hello, How to calculate a center of mass and total mass of 11x4 matrix? Sergey

7 years ago | 0 answers | 0

### 0

answersQuestion

if statemnt do not execute the second statement

Hello, I try to run the following if-statement: if 0<T<10 h=T-10 else T>100 h=0.45*T+900 end. Variable T is defined as T=...

7 years ago | 2 answers | 0

### 2

answersQuestion

If-statement do not respond

Hei! I am running the following function in matlab: function trig(a,b) format long x=pi/9; a=sin(4*x) b=4*sin...

7 years ago | 1 answer | 0

### 1

answerQuestion

How do I show the following condition t>1 with help of for-loop?

I am trying to plot the step response for different values of t. I choose condition when t is bigger than 1. I use the followin...

7 years ago | 0 answers | 0

### 0

answersQuestion

How to get rid of exp in answer

I have evaluated a polynomial of the 6th order. One of the calculated coefficients has a value of -4.1275e-05 (format short g...

7 years ago | 1 answer | 0

### 1

answerQuestion

Boundary Conditions for plane stress

I do not fully understand how to implement boundary conditions to solve my PDE (Plane stress). Can somebody explain me how I ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Creating of Basic Shape in Matlab

Hello! I am trying to create a rectangle as a basic shape. I use these commands: rect=[3 4 -1 1 1 -1 -0.5 -0.5]; gd...

7 years ago | 1 answer | 0

### 1

answerQuestion

For-loop in Matlab

Hei! I have the following for-loop: for c=(1:10) x=sind(c) end disp(x) How can I get all values of x as ...

7 years ago | 1 answer | 0

### 1

answerQuestion

if statement in Matlab

I running the following if-loop: sigmat=24; n=1.5; sigmam=20; N=200; si=sigmat/n; if si>=sigmam F=N/s...

7 years ago | 1 answer | 0

### 1

answerQuestion

Function computation in Matlab

Hei! I am trying to compute the following function function [x,y] = f(z) x=cos(z)*2; y=sin(z)*2; end The answer I ge...

7 years ago | 1 answer | 0

### 1

answerQuestion

Polynomial Interpolation in Matlab

Hei! Can somebody help me with polynomial Interpolation in Matlab? I have a data set for x and y as vectors and N=15 as the ...

7 years ago | 2 answers | 0

### 2

answersQuestion

1.0e+02 *

Hei! Can somebody help me with this: After running for-loop (for example, for I=1:10 [I, I^2, sqrt(I)] end) I getting foll...

7 years ago | 1 answer | 0