提问


Different results by or(A,B) and xor(A,B) for matrices, why?
Hi, with or(A,B) and xor(A,B) I obtain two different results here, I don't understand why this happens. Since or(A,B) perform a...

10 months 前 | 2 个回答 | 0

2

个回答

提问


With ischar usage - I get two different answers
Hello, I found out that ischar gives two different answers as follows: ischar("a") ans = logical 0 While, with th...

10 months 前 | 2 个回答 | 0

2

个回答

提问


Plotting a specific interval for a given matrix
Hi, I have a matrix with several entries on three rows, and I would like to plot the entries of the 2nd and 3d row values toward...

10 months 前 | 1 个回答 | 0

1

个回答

提问


Generating a rather intricate loop with inequalities
I have to create a code that, given positive integers m and n, calculates integers k and r such that m=kn+r and r<n by successiv...

10 months 前 | 1 个回答 | 0

1

个回答

提问


Using "if" and "disp" in a comparison of two numbers
I made the code to compare two numbers, however it stops after input of the numbers, instead of doing the comparison. I have a b...

10 months 前 | 1 个回答 | 0

1

个回答

提问


Create a loop with doubling the previous number minus 1
Hi, I have to make this loop: 2 3 5 9 17 33 65 which is the first number multiplied by 2 and subtract 1, then double...

10 months 前 | 2 个回答 | 0

2

个回答

提问


How to create a long matrix rapidly
I would like to create the given matrix 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 ...

10 months 前 | 2 个回答 | 0

2

个回答

提问


Find the 137th character in a file?
Hi, I have a file in MATLAB that has a lot of text. I would like to find the 137th character in the file. For this I tried t...

10 months 前 | 4 个回答 | 0

4

个回答