Community Profile

photo

sznailc


Last seen: environ un an il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


I have a mistake in loops
Hello, I have somewhere a mistake that if N = 1000 the output misses some lines (don't know which), so I suppose there's a mista...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Pythagorean triples - wrong output in loop
Hello, I have this piece of code, it computes pythagorean triples, then adds them in a matrix, but in output for some reason it ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to avoid using a loop here?
Hello. I want to do the same thing without a loop. A = zeros(N); for m = 1:N for n = 1:N A(m, n) = 2*N + 1 - (m ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Remake this without a loop
How to rewrite this without using a loop? Basically I want to replace elements in matrix A with 0, that are equal to any of ele...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


How to create this matrix not using loops and if/else statements?
Hello. I have a problem with creating matrix like this without using loops and if/else statements. It must have 5 columns and N ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse