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...
7 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 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) ...
10 years 前 | 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? ...
10 years 前 | 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? ...
10 years 前 | 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 ...
10 years 前 | 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 ...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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=...
10 years 前 | 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 '...
10 years 前 | 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
10 years 前 | 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=...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 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...
10 years 前 | 1 个回答 | 0
