Talk:MATLAB
Jump to navigation
Jump to search
- To what extent have you used or found useful MATLAB's softScope? —Preceding unsigned comment added by Kcoonley (talk • contribs) 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 getsoftscope
running while simultaneously trying to either set voltages or store voltage values. It isn't impossible, but thesoftscope
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)
- 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
- 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)