Feeds
질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
Arithmetic operations with units
Hello, Is it possible to perform arithmetic operations with units? This function is available in Mathcad. Do we have simil...
거의 9년 전 | 답변 수: 3 | 0
3
답변질문
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 ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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) ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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? ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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? ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 9년 전 | 답변 수: 2 | 2
2
답변질문
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...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
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=...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
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 '...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Center mass and total mass of a matrix
Hello, How to calculate a center of mass and total mass of 11x4 matrix? Sergey
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
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=...
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0