Talk:MATLAB

From PrattWiki
(Redirected from Talk:Matlab)
Jump to navigation Jump to search

MATLAB

  • To what extent have you used or found useful MATLAB's softScope? —Preceding unsigned comment added by Kcoonley (talkcontribs) Jun 26, 2008
    • softscope can be pretty handy when you want to see use a data acquisition system as an oscilloscope. The DAQ systems in EGR 103, for example, can have 8 differential or 16 single-ended traces going simultaneously, though on some of the slower machines, there's definite jitter in the readings. Also, it is complicated to get softscope running while simultaneously trying to either set voltages or store voltage values. It isn't impossible, but the softscope program has to be run on interrupts which means performance degradation. Also, The MathWorks has a softscope help page - I will go ahead and add that to the external links on the main article. DukeEgr93 18:10, 26 June 2008 (UTC)


  • When I open a PuTTY session and invoke Matlab by typing 'matlab &' , I get a msg that reads: X connection to localhost:10.0 broken (explicit kill or server shutdown). How do I remedy this? Sno5 15:21, 3 September 2011 (EDT)
    • That is generally because you have not started the X-Win program. If you are running windows, you need both X-Win and PuTTY to connect. The other reason that may happen is if you have a PuTTy session where you didn't have the "Enable X11 Forwarding" button clicked. DukeEgr93 16:42, 3 September 2011 (EDT)
  • What is the longest number recognized by MATLAB? Rck17 13:24, 19 September 2011 (EDT)
    • Depends on the definition of "longest." All floating point numbers in MATLAB take up 64 bits of binary information so they are all technically the same "length." The largest number MATLAB can handle without being taught a different way to store numbers is realmax which is on the order of 1.7e308 or just under 2^1024. Actually -
      \( \left(\sum_{k=0}^{52}\frac{1}{2^k}\right)\times 2^{1023} \)
      DukeEgr93 15:56, 21 September 2011 (EDT)
  • When I run a line of code that includes the conditionals ~= or <= (and likely others like it) I get an error that says "Unexpected MATLAB operator". How do I fix this? Sno5 21:28, 5 October 2011 (EDT)
    • That's not quite enough information to go on -- generally, though, it means that there are parentheses in the wrong place or some similar syntax error. DukeEgr93 20:58, 30 October 2011 (EDT)
  • I am trying to play a tone using the "sound" command in Matlab. I cannot hear any sound when connecting remotely using an SSH connection on a Mac. ((snip)). Mrt19 22:34, 24 January 2013 (EST)
    • You can only get MATLAB sounds to play remotely is you start MATLAB using a VCL. Connecting via a terminal will not do it because the program is running on the remote machine; when you use a VCL, the program is actually running on your machine. DukeEgr93 (talk) 18:32, 25 August 2014 (EDT)