已回答 Check each pixel for a specific color
Try
I=imread('imageHere');
[a,b,c]=size(I); % change is needed
for i=1:a
for j=1:b
F(i,j)=all(I(i,j)==0);
e...
12 years 前 | 0
已回答 how to resize a given signal?
Use reshape
Y=function(X,m,n)
It works for any input matrix (X) with number of elements (m x n). The output is Y with m...
12 years 前 | 0
已回答 large text file reading
Try this and note to specify your filename input (FIN) and filename output (FOUT) properly, i.e., FOUT must be with extension (...
12 years 前 | 0
已回答 How to convert a string to a symbol ?
@Jacky (the actual expression is : (x>=1 & x<9)). This is the question!
This is a logical comparison statement. The meaning...
12 years 前 | 1
| 已接受
已回答 How to convert a string to a symbol ?
sym and syms are used to declare symbolic variables, see:
<http://www.mathworks.com/help/symbolic/symbolic-variables-express...
Reading multiple image files with Simulink
Is it possible to read multiple image files e.g., the contents of a folder, in Simulink? I need to read a sequence of images f...