photo

Valeria Chacon


2016년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


How can I change this loop to a switch loop?
width=input('Enter a positive number: '); disp(' '); while width<0 width=input('Enter a positive number: '); ...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Why isn't my graph plotting?
N=4; R=2; Phase=pi/4; theta=zeros(1,N); x1=R*cos(theta+Phase)/sqrt(2); y1=R*sin(theta+Phase)/sqrt(2); ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I graph this matrix?
theta=zeros(N,N); theta = mod(bsxfun(@plus, (1:N), (1:N).'),2); x1=(R*cos(theta+Phase)/sqrt(2)); y1=(R*si...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to do a loop for a number to determine what color to use?
theta=zeros(N,N); theta = mod(bsxfun(@plus, (1:N), (1:N).'),2); In this case, N is the input that the user chooses. At ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I sum up two indices to then change the value of the sums that are even?
theta=zeros(N,N); index=(mod(theta,2)==0) N in this case is any number inputed by the user. N is the dimensions of a mat...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to add more squares on the checkerboard inscribed inside of a circle
width=input('Enter a positive number: '); disp(' '); while width<0 width=input('Enter a positive number: ');...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Playing sound one after another, according to number inputed
if I have multiple sounds that already have specific tones and they're named: y0,y1,y2,y3,y4,y5,y6,y7,y8,y9 how can I make th...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


how to play sound one after the other depending on the number inputed
prompt = 'Enter atleast 10 numbers: '; str='0'; while length(regexp(str,'\d'))~=10 str = input(prompt,'s'); end ...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


making the string into a matrix
N=length(str); count=1; for k=1:N m=str2double(str(k)); if isnan(m)==0 str(count...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


after removing characters out of my string, how can I put the numbers in a matrix
prompt = 'Enter atleast 10 numbers: '; str='0'; while length(regexp(str,'\d'))~=10 str = input(prompt,'s'); end ...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


separating strings one by one
N=length(str); count=1; for k=1:N x=str2double(str(k)); if isnan(x)==0 str(count)=x(k); ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Separating numbers and characters from input
If a user inputs a random amount of characters For example: str=input(prompt,'s'); and they input: 123wd57ab934bd3 how can ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to only have a certain amount of numbers in an input of as many characters and number that the user wants
prompt = 'Enter atleast 10 numbers: '; str=0; str = input(prompt,'s'); while length(str)~=10 str = input(promp...

7년 초과 전 | 답변 수: 1 | 0

1

답변