TipiWiki2

[ MatLab.2007-08-24-11-14 ]

edit | Recent Changes | Find Page | All Pages | Front Page |

Links

verschiedene Tipps: http://www.fdm.uni-freiburg.de/~ckreutz/Helppages/Matlab/MatlabBefehle.html
mehr Tipps: http://www.tech.plym.ac.uk/spmc/links/matlab/matlab_tips.html
Matlab graphics: http://www.people.cornell.edu/pages/jf262/matlab/useful%20pages/Matlab%20graphics.htm
Gabor patch erstellen: http://www.icn.ucl.ac.uk/courses/MATLAB-Tutorials-2006-07/Elliot_Freeman/html/gabor_tutorial.html
Verschiedenes: http://stinkpot.afraid.org:8080/tricks/index.php/category/matlab/
**Matlab Profiler!!

Matlab Gui

- starten mit "guide"
- speichern, um Callback Funktionen zu kreieren
- dann ganz easy, globale Variablen verwenden "global <variablenname>" und in anderer Funktion auch mit "global <variablenname>" verfügbar machen
- mehrere Zeilne in ListBox: http://groups.google.ca/group/comp.soft-sys.matlab/msg/1aca15863a05ed15
- Bsp.: ListBox http://www.caspur.it/risorse/softappl/doc/matlab_help/techdoc/creating_plots/chhand37.html

Grafik, nachträglich ändern, Daten extrahieren etc.

es gibt 3 Hierarchien im gca (global current axes)
figure (s. im Inspector der figure)
... axes
...... patch (das sind die Daten)

h = findobj(gca,'Type',patch);      % z.B. ein Summen(Hist)ogramm
set(h,'FaceColor',[0.3,0.6,0.1]);

Matlab Clones

http://www.scilab.org/
http://www.octave.org/
http://matplotlib.sourceforge.net/ (plot like Matlab in Python!!)

externe Routinen (dll's) einbinden

- DelphiMex http://j.krt.tul.cz/ms/matlab.delphi/delphi.matlab.htm
- PasMex Toolbox http://www-user.tu-chemnitz.de/~heha/hs_freeware/freew.html
- Matlab+dll's http://www.physik.uni-osnabrueck.de/kbetzler/win32/matlab/matlab.pdf

In figure asymmetrisch plotten

z.B.

      \+--------+--------+
      \                |
      \                |
      \|        +--------+
      \                |
      \                |
      \+--------+--------+
subplot(2,2,[1 3])
subplot(2,2,2)
subplot(2,2,4)

Plotten etc.

http://www.bangor.ac.uk/~pss412/toolboxes/toolbox_graph.htm
http://www.physnet.uni-hamburg.de/physnet/matlab/help/techdoc/creating_plots/creating_plots.html

Schleife mit Schrittweite ungleich 1

for t = [1:100]
   x(t) = t/10;
   y(t) = 2 * exp((2+sqrt(3))*(t/10)) + 4 * exp((2-sqrt(3))*(t/10));
end
plot(x,y);

Variablen anschauen

workspace

Achsen begrenzen

hold off, plot(shape(:,1),shape(:,2)), hold on, axis([30 70 0 100])