Feeds
질문
use recursion to generate random permutations
a) Write a recursive algorithm that takes as input a set of elements and an integer l, and returns all their permutations of le...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
when output, matlab shows <missing>?
I wrote a recursive function to generate a car plate for each car function plate=plates(n,plate) if n<1 return else ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Operator ':' is not supported for operands of type 'polyshape'.
Hello, I am getting this error: Operator ':' is not supported for operands of type 'polyshape'. Here my code: b1(i)=b1(i)-3; ...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Index in position 2 exceeds array bounds?
I wrote the at the beginning of my code jaywalk=zeros(1,n); then I changed the values in jaywalk at the end of my code, I wr...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
save the change to a variable in a function
In my project, I need to use some functions periodicly. But I found that even the value of a variable is changed in the first fu...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to display exactly 2^64?
I want to display 2^64 exactly as 18446744073709551615, without e. Without using vpa(), how can I display18446744073709551615? ...
5년 초과 전 | 답변 수: 4 | 0
4
답변질문
How to display plot and rectangle at the same time?
I want to display some lines and some moving rectangles at the same time in the same frame. I use plot() to draw the lines, and ...
5년 초과 전 | 답변 수: 1 | 0

