Feeds
提问
installation issue -- cp: copy error «/tmp/mathworks_9300/bin/glnxa64/libstdc++.so.6»: No free space in device
Hello , I am trying to install Matlab but when I execute the 'install' script it shows me: cp: copy error «/tmp/mathworks_9...
11 years 前 | 1 个回答 | 0
1
个回答提问
How do I remove duplicate values from vector without using unique (out of bounds problem)?
I have a vector of numbers which has 6 elements from user input. I want to replace any duplicate values with another value. ...
11 years 前 | 1 个回答 | 0
1
个回答提问
implementing taylor series with loop
I want to implement taylor series for sinx with loop. So , : angle=input('Insert angle in degrees\n'); x=angle*2*pi...
12 years 前 | 1 个回答 | 0
1
个回答提问
how to use sum?
I am trying to use sum but with no success! For example: n=1:20; sum(n./2.^n) or: n=20; k=1:n; sum(k);...
12 years 前 | 1 个回答 | 0
1
个回答提问
In an assignment A(I) = B, the number of elements in B and I must be the same.
Hello, I want to make 4 plots in one according to below: R=8.3145; n=1; V=linspace(1,10,1000); T=[100,200,300,40...
12 years 前 | 1 个回答 | 0
1
个回答提问
find the minimum value of x that corresponds to maximum value of theta
Hello , I have : x=30:0.5:300; h=180; hypot=sqrt(x.^2+h.^2); phi=asind(h./hypot); theta=90-phi; Now ...
12 years 前 | 1 个回答 | 0
1
个回答提问
error: index must be a positive integer or logical -- create movie --SOLVED
EDITED--> SOLVED Hello, i have this matlab code and it gives me the error i have in title. % solution of the scalar wave 1d...
13 years 前 | 1 个回答 | 0
1
个回答提问
Converting a problem from Mathematica to MATLAB
I have this problem in mathematica and want to do it in MATLAB. steps[m_] := Table[2 RandomInteger[] - 1, {m}] Walk1D[n_] ...
14 years 前 | 2 个回答 | 0
2
个回答提问
extract randomly a pair from a list
Hello , i have this list a=[0,1];b=[1,0];c=[0,-1];d=[-1,0]; list=[a;b;c;d] I want to extract randomly one ...
14 years 前 | 1 个回答 | 0
1
个回答提问
matrix issue with null
Hello, i have this code in mathematica and i want to do it in matlab: T = Table[{Null, Null}, {Maxstep}] t = Table[Null, {M...
14 years 前 | 3 个回答 | 0
3
个回答提问
count bins
Hello, i need help in counting bins. I have this command in mathematica: nBin = BinCounts[dataX, {-5 sX, 5 sX, step}] ...
14 years 前 | 1 个回答 | 0
1
个回答提问
Integration of a function
I want to integrate fp(z) with z(0,x). I want an analytic expression. I have done this: f2z=@(z) 1./(z.^2+1); fpz=@(z) ...
14 years 前 | 2 个回答 | 0
2
个回答提问
Plot a matrix which has functions
I have these functions (in a script): fx = @ (x) exp(-x.^2); f1x = @ (x) 1/(x.^2+1); fpx = f1x/int(f1x,x,0,1) I wan...
14 years 前 | 2 个回答 | 0
2
个回答提问
Create a matrix with rand
I have a vector = 2*rand(1,3)-1 I want to create a matrix with x lines and columns the vectors. I have done the following:...
14 years 前 | 1 个回答 | 1