Results 1 to 5 of 5

Thread: need some help with octave

Threaded View

  1. #1
    Join Date
    Aug 2005
    Location
    Braga,Portugal
    Beans
    118
    Distro
    Ubuntu 10.10 Maverick Meerkat

    need some help with octave

    Hello people!

    I'm trying collect a data from a cvs file.
    But I can't run plot.

    I'm noob at octave, I'm a ex matlab user.

    Code:
    clear
    clc
    [ndata, headertext] = xlsread('Data100M_11.csv', 'sheet1');
    
    [a,b]=size(headertext);
    
    text = headertext(1,:); %save strings from LSD Header
    data=headertext(2:a,:) %data from LSD res file
    
    [c,d]=size(data)
    
    k=1:1:c; %creates a K vector to discrete time steps
    x1=(data(:,1)) %assign to x1 first column from file
    
    %plot() %I wanna plot, I don't know how... I think is because it's a cell array?!
    (file in attach)
    Attached Files Attached Files

Tags for this Thread

Bookmarks

Posting Permissions

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