Search Comments and Ratings

go

   
Date File Comment by Comment Rating
16 Dec 2014 DXFLib DXFLib is a library written in MATLAB that allows to create simple AutoCAD DXF files. Author: Grzegorz Kwiatek Grzegorz Kwiatek

Hi Lars, thank you for your feedback. The website has been updated to: http://www.induced.pl/projects/dxflib

Comment only
23 Oct 2013 Radiation pattern from shear-tensile seismic source Calculates P, S, SV and SH radiation pattern using shear-tensile seismic source model. Author: Grzegorz Kwiatek Grzegorz Kwiatek

@Michael
Here is a sample script that produces either radiation pattern "flower" or (if you replace scale=abs(GP) with scale=1) something similar to beach ball. Hope it helps!

AZIMUTH = (0:4:360)*pi/180;
TAKEOFF = (0:2:180)*pi/180;
[AZIMUTH,TAKEOFF] = meshgrid(AZIMUTH,TAKEOFF);

strike = 50;
dip = 60;
rake = -90;
sigma = 0.25;
gamma = 0;
[GP, GS, GSH, GSV] = rpgen(strike,dip,rake,gamma,sigma, TAKEOFF*180/pi, AZIMUTH*180/pi);

scale = abs(GP);
YP = scale.*cos(AZIMUTH) .* sin(TAKEOFF);
XP = scale.*sin(AZIMUTH) .* sin(TAKEOFF);
ZP = scale.*-cos(TAKEOFF);

surf(XP,YP,ZP,GP,'EdgeColor','none','FaceAlpha',0.9,'AmbientStrength',0.7,'EdgeColor','k','EdgeAlpha',0.1);
axis equal;

Comment only
13 Apr 2013 DXFLib DXFLib is a library written in MATLAB that allows to create simple AutoCAD DXF files. Author: Grzegorz Kwiatek Grzegorz Kwiatek

Varun AV, The circles will be incorporated in the next version of DXFLib.

Comment only
12 Oct 2012 cprintf - display formatted colored text in the Command Window Displays sprintf-formatted strings in the Command Window using the specified color/underline style Author: Yair Altman

Yair Altman (view profile)

Grzegorz Kwiatek

Greate submission

5
12 Oct 2012 cprintf - display formatted colored text in the Command Window Displays sprintf-formatted strings in the Command Window using the specified color/underline style Author: Yair Altman

Yair Altman (view profile)

Grzegorz Kwiatek

Great submission.

5

Contact us