subtract line by line and storage
i have an arror in this code...i want to store the result in
a matrix line by line, how i can?
thanks
??? In an assignment A(I) = B, the number of elements in B and
I must be the same.
k is a costant.
for class_num = 1:10
matrix(???) = ((f_norm(k,:) - f_mean(class_num,:)).^2);
end
.
Relevant Pages
- Re: character byte str[i] treated as signed, I need unsigned
... version, because when a compiler sees an assignment statement, it's first ... I have to store a value". ... ribbons are better than pretty red clockwise ribbons. ... (comp.lang.c) - Re: character byte str[i] treated as signed, I need unsigned
... version, because when a compiler sees an assignment statement, it's first ... I have to store a value". ... Or it may won't, it could impede the optimiser, making it ... let the compiler do it's job. ... (comp.lang.c) - Re: Multiple Assignment Evaluation Debate
... Executing the right assignment does ... being read to determine where to store q) and that's where the ... undefined behavior comes from. ... I also believe that all of the formal sequence point models that have ... (comp.lang.c) - Re: value of an assignment expression, revisited
... generate code to blindly store 1 to "b", but would have to read from ... All it says is that "an assignment expression has the value of the left operand after the assignment". ... Quite a few people interpret that as saying that the value *must* be read back from the object; but the usual response to them seems to be that the intended meaning of those words is that the assignment operators always return the same value that they store in the object, without reading it back from the object. ... (comp.std.c) - Re: x=(x=5,11)
... result in x being set to 11, i'm saying it's undefined. ... If x is volatile, there will be two stores to x, the first store ... the second store storing the value 11. ... assignment to be evaluated after the side effects of the x=5 ... (comp.lang.c) |
|