The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: i want to simplify this code
Replies: 14   Last Post: Apr 22, 2013 7:11 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 18
From: egypt
Registered: 12/10/07
Re: i want to simplify this code
Posted: Apr 7, 2013 6:50 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

i did as u did but all my problem is put this items inside the loop
T2 = dctmtx(2);
T4 = dctmtx(4);
T8 = dctmtx(8);
T16 = dctmtx(16);
T32 = dctmtx(32);
T64 = dctmtx(64);

when i put it in for loop it give me error

In an assignment A(I) = B, the number of elements in B and
I must be the same.

dpb <> wrote in message <kjsrs0$fdl$>...
> On 4/7/2013 4:46 PM, mohammed wrote:
> > thnx too much .. its work now
> > but i want modify it to work with this formula

> ...
> Well, you saw what I did above; whether you can do something similar in
> general depends, of course, on what it is that you're changing.
> I think I'll let you show some attempts to generalize the thought
> process Bruno and I have shown you rather than just write more code for
> you directly...
> When you get stuck on a particular idea/implementation/Matlab question
> in doing so, post it and your work and we'll go from there....
> --

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.