Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
mquake(h,int,dur,op1,op2) Randomly vibrates graphical objects, where:
h: Handle of required object(s) (scalar or vector)
int: Intensity of vibration (scalar)
dur: Duration of vibration in seconds (estimate, scalar)
op1: 1 -> Object returns to starting position at the end
0 -> Object ends up where earthquake lands it
op2: 1 -> Confine object to screen limits
0 -> Vibrate freely
Setting OP2 to 1 will confine the vibrating object to its container's limits. It confines a figure to the screen limits, and confines axes and uicontrols to the limits of the figures containing them.
+ Example:
% Vibrate figure
t=0:.1:4;
y=cos(t);
plot(t,y)
mquake(gcf,2,5,0,1)
Cita come
Husam Aldahiyat (2026). MATLAB Earthquake (https://it.mathworks.com/matlabcentral/fileexchange/22816-matlab-earthquake), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: Mth Order Piecewise Spline Interpolation, Earthquake mapping acceleration
Informazioni generali
- Versione 1.2.0.0 (2,33 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
