photo

jelly


自 2012 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


how can I generate a random matrix?
hello guys, what code can i use to generate a mxn matrix provided that the value is from 1 to x(depending on the desire of user)...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
Is there anything wrong to my code?
haha i think i know whats wrong in my code, maybe because str2num(N(end))>b1 would not be valid operand. haha but how can I fix ...

12 years 前 | 0

提问


Is there anything wrong to my code?
if (((N(end)=='A'||N(end)=='B'||N(end)=='C'||N(end)=='D'||N(end)=='E'||N(end)=='F') && (b1>=10))|| str2num(N(end))>=b1) end ...

12 years 前 | 2 个回答 | 0

2

个回答

提问


How can I add a char in a matrix?
hey how can I add a string in matrix? ex. for i=1:5 A(i)=i+1; end mat2str(A); ... for I want to have to put A or B...

12 years 前 | 2 个回答 | 0

2

个回答

提问


how can I stick together the data in a matrix?
ex input A=[1 2 3 4 5] A= 1 2 3 4 5 how can i stick the data from A together? so it would be like this: A=123...

12 years 前 | 1 个回答 | 0

1

个回答

提问


how can i print all the data from a computation in one line?
how can i do this? ex. "for i=1:3 end" desired output: i=[1 2 3] or i=123 .. ex.two " x=input('input value o...

12 years 前 | 3 个回答 | 0

3

个回答