Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
4 years 前 | 1 个回答 | 0