Community Profile

photo

jelly


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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)...

11 years ago | 1 answer | 0

1

answer

Answered
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 ...

11 years ago | 0

Question


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 ...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 3 answers | 0

3

answers