Community Profile

photo

nty huy


2019 年からアクティブ

統計

Content Feed

表示方法

質問


Make a loop in such way that i will be increasing by 5 from 4 up to 30 and by 3 from 30 till up to 50.
im still confused on using while loops and if loops can someone help me with this question

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Im programming a mini game and i wanted help with how to rank based on time
i wanted to rank the player based on time say 10 second is first, 20 seconds is second and so on, what code can i use for that i...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Count how many ‘a’ are in str and eliminate those ‘a’
so for ex in a str= i have an apple and we want to see how many a and remove them we would use str1= 'a' ind = strfind(str...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Make 1 figure with 2 plots in 1 row. First plot will be empty, and second plot will contain bar plot of all values of i from one of the above loops.
subplot(1,2,1); subplot(1,2,2); bar(i) but howto add additional variable v which will 'remember' values of i from each iter...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


Make an interactive plot which will allow you to draw a continuous line with 3 segments
figure; hold on xlim([0 1]) ylim([0 1]) plot(rand(1),rand(1),'o') for i = 1 : 3 [x1 y1] = ginput( 1 ); plot( x...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Make an array Arr where element Arr(m,n)=i(m)+j(n)*i(m), and i is changing from -5 to 20 and j is changing from -13 to 9.
can somone help me with this, i know basic arrays which are [- 5 5 10 15 20] but this array is a little diffrent

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Make 1 figure with 2 plots in 1 row. First plot will be empty, and second plot will contain bar plot of all values of i from one of the above loops.
create additional variable v which will 'remember' values of i from each iteration. so i have this subplot(1,2,1); subplo...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


Make 1 figure with 2 plots in 1 row. First plot will be empty, and second plot will contain bar plot of all values of i from one of the above loops.
how to answer this question i think there is subplots?

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Write a loop which will be increasing variable i by 5 at each iteration till i reaches 50. Initial value of i is 12.
im having a bit trouble with loops if somone can help me with this answer and explain as well it would be nice

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Change column in array
Arr= [ 5 5 5 5 ; 5 5 5 5; 5 5 5 5 ; 5 5 5 5; 5 5 5 5] how to change all elements in a column to a diffrent number?

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Help on text and colours
so i have this graph t = linspace(0,5*2*pi)'; y = cos(t); plot(t,cos(t)) and i want some text in the middle how do i ...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


Change all elements in 2nd column to 3
vArr = [ 5 5 5 5; 5 5 5 5 ; 5 5 5 5; 5 5 5 5; 5 5 5 5 ] so i have this and i knw how to change one element but how to change...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Create array Arr with 5 rows and 4 columns with each element = 5
vArr = [ 5 6 7 8; 2 3 4 5 ; 2 3 4 5; 2 3 4 5; 2 3 4 5 ] but what does it mean with each element = 5 all number has to be 5???...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


Create array Arr with 5 rows and 4 columns with each element = 5
how to do

4年以上 前 | 1 件の回答 | 0

1

回答