photo

Juan Zegarra


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to print this box in MatLab?
Hello can you please help me with the code for this box of Os' and Xs'? So far I've done this but I only print one line. n=inp...

5 years ago | 1 answer | 0

1

answer

Question


How to determine if a number is prime?
Hello, I was wondering if you can help how to determine if numbers from 0 to 100 are prime. Should I use loops? Please I am real...

5 years ago | 2 answers | 0

2

answers

Question


How to print this graph?
So far I have this. Please help. 2(n-1)+1 %number of x n=row floor(col/2-(n-1)) %number of blanks floor (row/2-(n-1))

5 years ago | 1 answer | 0

1

answer

Question


How to make a diamond with asterisks?
Hi can you help me doing this? So far I have this but I'm not sure what to do next or when to write the loops. 2(n-1)+1 %numbe...

5 years ago | 1 answer | 0

1

answer

Question


Script that calculates the following sum
Write a script that will calculate the convertage series of S= starting at n=0. This series will converge on S=2. That is 1/1 +1...

5 years ago | 1 answer | 1

1

answer

Question


function min() using loop or nested loop
Write e acode for the MatLab function min() that will have a vector or matrix argument and will return the minimun and index of ...

5 years ago | 1 answer | 0

1

answer

Question


rem() function vector or matrix input
Write a function to do the MatLab rem() function (remainder of a division) and will work with a vector or matrix input. The func...

5 years ago | 0 answers | 0

0

answers

Question


Nested Loop Script (Triangle)
Write a nested llop script that will print the following pattern, printing one number or character at a time starting at 1 and u...

5 years ago | 1 answer | 0

1

answer

Question


Script using loop and if statement
Hello, can you please help me with this problem? *Write a script using a loop that will take a vector (of any size) of numbers ...

5 years ago | 1 answer | 0

1

answer

Question


How to make a rainbow in MatLab?
Hello can someone please help me work this out? My professor asked us to make a rainbow. This is what I have so far, using the t...

5 years ago | 1 answer | 0

1

answer