Feeds
질문
I keep getting x as a single value output instead of an array of 14values..
below are my codes: i would like to obtain an array for 14values for my x but i keep getting a single value output for x instea...
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
quiver function(vector field)
<</matlabcentral/answers/uploaded_files/28570/qn11.jpg>> Above is my vector field generated. The arrows are all squeezed ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
f(x) = (sin(x))^0.5
im trying to plot a graph of y = sqrt(sin(x)) for domain -10<=x<=10 however, im trying to convert my graph from left figure to ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Undefined function 'Trapzoid' for input arguments of type 'double'.
Hi, i keep getting this error: Undefined function 'Trapzoid' for input arguments of type 'double'. below are my codes: ...
거의 10년 전 | 답변 수: 2 | 0
2
답변질문
Find the first column in a matrix that contains at least 1 non zero..
Hi,im trying to find the first column in a matrix that contain at least 1 non zero. then the function Findfirst should return m...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
using subfunctions in a script to find area of rectangle..
below is my scripts and sub functions, why do i still get this error when all my subfunctions and script already have the green ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
How can i group each column of a matrix after i split a matrix into columns.
for eg, i have a matrix "mat = 10*rand(x,y)" after i split the matrix by columns into y number of groups,how can i group them...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
how do i generate a 1X4 matrix with until the sum of the matrix =100
how do i generate a 1X4 random matrix until the sum of the matrix equals to 100 with the following condition: (each time th...
대략 11년 전 | 답변 수: 4 | 0
4
답변질문
matrix input if mat(1) is > than mat(2)
im trying to find if an mat(1)is > mat(2) and so on. below is my attempt: function [specialmax] = specialmax(x) [r c...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
how can i subplot 4 separate graphs for machine's velocity
A machine velocity while traveling on a particular road = 70*exp(-t/M) t=0:0.5:10 M is the mass of the Machine. Machine1 is...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
if A=1:0.1:10 and B=1:4,T=exp(A/B) , is there anyway to plot a graph of T against A?
if A=1:0.1:10 and B=1:4, T=exp(A/B) , since they are of matrices of different sizes, is there anyway to plot a graph of T ag...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
error using subplot,index exceed numbers of subplots
x=1:1:10 for i=2:2:8 y=4*x-3*i subplot(4,1,i) plot(x,y) end why do i keep getting this error- error using subplot,index...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
i cannot seem to enter :y=(a.^(4x)+a.^(-4x)-22)/(x^3)
im trying to plot this graph clf hold on axis ([-100 100 -100 100]) x=-1:0.02:70; a=14 y=(a.^(4x)+a.^(-4x)-22)/(x^3) ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
line doesnt appear on my graph
hi,im trying to plot a graph below is my script and outcome of my plot(x,y) graph. can anyone enlighten me on why do i only get...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
Error using / Matrix dimensions must agree...
Below is my script: >> clf >> hold on >> axis([-1 1 -1 1]) >> x=-1:0.0001:1; >> y=cos(1/x) >> plot(x,y) M...
대략 11년 전 | 답변 수: 7 | 2
7
답변질문
can i make a matrix like this?
<</matlabcentral/answers/uploaded_files/313/matlab111.jpg>>
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
how do i fprintf 2 variables like this
<</matlabcentral/answers/uploaded_files/327/matlab999.jpg>> kindly advise,thanks alot!
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
generating random values within a range with condition
<</matlabcentral/answers/uploaded_files/316/matlab333.jpg>> <</matlabcentral/answers/uploaded_files/317/matlab444.jpg>> ...
대략 11년 전 | 답변 수: 1 | 0
1
답변답변 있음
can i make a matrix like this?
Your script works perfectly! Thanks a lot Azzi Abdelmalek.!
can i make a matrix like this?
Your script works perfectly! Thanks a lot Azzi Abdelmalek.!
대략 11년 전 | 0
답변 있음
how to i attain a matrix with 1 to n
arrr i found out that i entered r and c in the wrong line,thanks alot Wayne King your answer did helped me alot!
how to i attain a matrix with 1 to n
arrr i found out that i entered r and c in the wrong line,thanks alot Wayne King your answer did helped me alot!
대략 11년 전 | 0
답변 있음
how to i attain a matrix with 1 to n
r=input('please indicate the number of rows you want for the matrix') c=input('please indicate the number of columns you wa...
how to i attain a matrix with 1 to n
r=input('please indicate the number of rows you want for the matrix') c=input('please indicate the number of columns you wa...
대략 11년 전 | 0
답변 있음
how to i attain a matrix with 1 to n
r=input('please inducate the number of rows you want for the matrix') c=input('please indicate the number of columns you want f...
how to i attain a matrix with 1 to n
r=input('please inducate the number of rows you want for the matrix') c=input('please indicate the number of columns you want f...
대략 11년 전 | 0
질문
how to i attain a matrix with 1 to n
when i prompt a user for a value for m,n how do i attain a matrix such that the first row of a matrix be 1 to m for eg.if a us...
대략 11년 전 | 답변 수: 4 | 0
4
답변질문
how can i prompt user to enter elements for specific row/columns
script ive used: m = input('Enter number of rows: '); n = input('Enter number of columns: '); for i = 1:m fo...
대략 11년 전 | 답변 수: 1 | 0
1
답변답변 있음
Can this simple script be done without calling a function?
AorO=input('would you like to buy apples or oranges?','s') if AorO=='A' A=6/.5 fprintf('the amount of orange you can buy ...
Can this simple script be done without calling a function?
AorO=input('would you like to buy apples or oranges?','s') if AorO=='A' A=6/.5 fprintf('the amount of orange you can buy ...
대략 11년 전 | 0
질문
Can this simple script be done without calling a function?
hi,im new to matlab here im trying to write a script that would prompt a user if he have only $6 in his pocket,whether he wou...
대략 11년 전 | 답변 수: 3 | 0