I have y=[2 4 5 10] x=[2 5;4 6;5 1;5 2;5 7;10 3;10 4],I want to fill z=zeros(4,4) to be z=[2 5 0 0;4 6 0 0;5 1 2 7;10 3 4 0]
Show older comments
I have y=[2 4 5 10] x=[2 5;4 6;5 1;5 2;5 7;10 3;10 4], I want to fill z=zeros(4,4) to be z=[2 5 0 0;4 6 0 0;5 1 2 7;10 3 4 0]
1 Comment
Azzi Abdelmalek
on 27 Nov 2013
Answers (1)
Image Analyst
on 27 Nov 2013
0 votes
Sounds pretty similar to your old, very poorly explained questions. Can't you figure something out from those answers?
3 Comments
Walter Roberson
on 29 Nov 2013
yousef commented in a Flag:
Yes Im still at the same point. The solutions which I have got are complicated that I can not build on . I need simple solution which I can included with if statements that have some inserted physical formulas. This is only part of my project but every step I move its good. I have just started with programming and its not my major . I tried to simplify what I want as much as I can. Unique function is not useful for me
Azzi Abdelmalek
on 30 Nov 2013
Why unique function is not useful for you?
Image Analyst
on 30 Nov 2013
But I fail to see how having 6 discussions of the same question can be a good thing. We all think you should work this out through just one single discussion, not 6 of them. Why don't you pick one (not this one) as the main one and go with that?
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!