Wiki-Testseite: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
= Formeln =
<math>\mathrm{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! \! X}</math>
<math>\mathrm{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! \! X}</math>


Zeile 8: Zeile 9:
y = \int\limits_0^3 {\sin \frac{x}{2}dx}
y = \int\limits_0^3 {\sin \frac{x}{2}dx}
</math>
</math>
= Quelltext=
z. B. Matlab-Code über die source-Umgebung:
<code>
<source line lang="matlab" style="font-size:medium">
for i=1:10
    %    try
    %        image = CAMERA_DumpFrame(s);     
    %    catch err
    %        error('MATLAB:RWTHMindstormsNXT:Sensor:unknown', 'An unknown Error occured while fetching the image. Please check that the Camera is connected and try again');  -->
    %    end 
    image = CAMERA_GetImage(com);
    handle = imshow(image);
    %pause(0.1) 
    currTime(i) = toc(startTime);
    disp(['Aktuelle Zeit: ',num2str(currTime(i))])
    %imwrite(image,sprintf('NXTCamImage%03d.png',i)); 
    %imwrite(img,fullfile(workingDir,sprintf('HexBug%03d.png',n))); 
    % ca. alle 4.8 Sekunden ein Bild 
end;
</source>
</code>

Version vom 21. August 2020, 06:54 Uhr

Formeln


Quelltext

z. B. Matlab-Code über die source-Umgebung:

 

for i=1:10 
    %     try 
    %         image = CAMERA_DumpFrame(s);       
    %     catch err 
    %         error('MATLAB:RWTHMindstormsNXT:Sensor:unknown', 'An unknown Error occured while fetching the image. Please check that the Camera is connected and try again');  -->
    %     end  
    image = CAMERA_GetImage(com);
    handle = imshow(image);
    %pause(0.1)  
    currTime(i) = toc(startTime);
    disp(['Aktuelle Zeit: ',num2str(currTime(i))])
    %imwrite(image,sprintf('NXTCamImage%03d.png',i));  
    %imwrite(img,fullfile(workingDir,sprintf('HexBug%03d.png',n)));  
    % ca. alle 4.8 Sekunden ein Bild  
end;