Ben Frankel
2018년부터 활동
Followers: 0 Following: 0
Feeds
답변 있음
multiple graphs in one script
You need to use |hold on| after the first |plot| and |hold off| after the last |plot| if you want multiple plots in the same fig...
multiple graphs in one script
You need to use |hold on| after the first |plot| and |hold off| after the last |plot| if you want multiple plots in the same fig...
6년 초과 전 | 1
답변 있음
How can I count all pixel values that are not black(0)?
If the image is stored as a binary matrix M, you can use this: count = sum(M(:) ~= 0); For very large images, this runs ...
How can I count all pixel values that are not black(0)?
If the image is stored as a binary matrix M, you can use this: count = sum(M(:) ~= 0); For very large images, this runs ...
6년 초과 전 | 0
답변 있음
Hey guys, I need help with this input dialogue to function use.
You calculate _a_ correctly, but you never use it. Try this: a = str2double(S); ln = a(1); hfo = a(2); fy = a(3);
Hey guys, I need help with this input dialogue to function use.
You calculate _a_ correctly, but you never use it. Try this: a = str2double(S); ln = a(1); hfo = a(2); fy = a(3);
6년 초과 전 | 1
| 수락됨
답변 있음
how to repeat elements of column vector
You can get a vector where V(i) = count of timestamp i, with: V = diff([0; find(diff([data(:, 1); 1]))]) Then you can st...
how to repeat elements of column vector
You can get a vector where V(i) = count of timestamp i, with: V = diff([0; find(diff([data(:, 1); 1]))]) Then you can st...
6년 초과 전 | 0
| 수락됨
답변 있음
multiple functions in code to define different pathways
There are some bounds-checking bugs in your code: # front(1, 1, IM, Lx, Ly) will crash. # front(1, Lx, IM, Lx, Ly) will cras...
multiple functions in code to define different pathways
There are some bounds-checking bugs in your code: # front(1, 1, IM, Lx, Ly) will crash. # front(1, Lx, IM, Lx, Ly) will cras...
6년 초과 전 | 1
답변 있음
How to get the order indices in a character array?
You can do this in two steps. First, replace the strings with their indices in the output string: s = [the_output, ',']; ...
How to get the order indices in a character array?
You can do this in two steps. First, replace the strings with their indices in the output string: s = [the_output, ',']; ...
6년 초과 전 | 1