+ Reply to Thread
Results 1 to 3 of 3

Thread: [Matlab] - Help in Matlab programming

  1. #1
    Points: 1,368, Level: 20
    Level completed: 68%, Points required for next Level: 32

    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    [Matlab] - Help in Matlab programming



    Good morning
    I am very bad in programming
    I want to translate my following problem in Matlab script
    The problem is as follow
    - I will enter variable (s) dimension of matrix n*p (n row, p column)
    -I start my treatement in the fisrt row of the matrix
    s1=s(:,1);
    [c,l] = wavedec(p,5,'haar');
    ca5 = appcoef(c,l,'haar',5);
    -and i want to go to the next row, s(:,2);
    make the same opperation and but the output (ca5 of the fisrt, second ...until p) in matrix
    So, how to make a loop, to advance in column of matrix (s)
    create matrix (ca5) which will be filled automatically each column (s) has treated
    Please could someone translate it in matlab script
    p=t0, t1...
    Attached Files

  2. #2
    Points: 664, Level: 13
    Level completed: 28%, Points required for next Level: 36

    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Help in Matlab programming

    I dont understand very well what you are trying to do. Could you explain where is exactly the problem in terms of programming without the terminology of your project?

    Thank you.

  3. #3
    Points: 206, Level: 4
    Level completed: 12%, Points required for next Level: 44

    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help in Matlab programming


    You can simply create a matrix of desired dimension by using many matlab bulit-in commmand, e.g. ones (2,3) or zeros (3,4) etc. These matrix can be filled with external data. Please explain your problem more precisely...I will try to help.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats