Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: split string and plot
Replies: 4   Last Post: Nov 19, 2012 7:23 PM

Advanced Search

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

Posts: 63
Registered: 3/19/09
split string and plot
Posted: Nov 19, 2012 4:30 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I have matlab script to pull out data from a test instrument using TCP/IP.
I got the data "stim_freq" as a string with 501 values separated by comma and "stim_gd" as a string with 501 values with comma separation. Using the following, I separated the string==>
p=regexp(stim_freq,',','split');
pp=regexp(stim_gd,',','split');
Now p and pp are cell arrays. How to plot as x axis and pp as y axis?



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.