Editor's Note: This file was selected as MATLAB Central Pick of the Week
Looking for a creative way to impress your special one for memorial days?
Check out this small program.
It generates a heart shape and with the Maltab core functions, you can re-shape it, move it and even generate a bouncing effect.
Xin Zhao (2021). Heart Model for Valentine's Day (https://www.mathworks.com/matlabcentral/fileexchange/18754-heart-model-for-valentine-s-day), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
great
How can I add e phrase on the heart that says I LOVE YOU?
btw
[y,x,z] = ndgrid(linspace(-2,2,100),linspace(-2,2,100),linspace(-2,2,100));
f = (x.^2+9/4*y.^2+z.^2-1).^3-x.^2.*z.^3-9/80*y.^2.*z.^3;
cla
isosurface(x,y,z,f,.0);
view(3);
camlight
axis off
does the same
Nice
So niubi as niubi could be.
Very amazing. Amazing Chinese gay. :)
this work is incredible. simply 5 star
Awesome!!
coooool...
5 STAR!
ver Nice
So Cool! thanks :)
Is there any who tell me that where is file contains matlab code.
nice
Ok.no worries mate,I got it,thnks so much,thats so nice of you.
its an excelent gift :) love it
nice!
For the equation, see http://mathworld.wolfram.com/HeartSurface.html
Nice animation :)
It is very creative