Community Profile

photo

Juan Zegarra


Attivo dal 2019

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta