MATLAB Heart Curve
- by Arkapravo
I am trying to get this in MATLAB, however I am not successful ! Any MATLAB gurus out there ?
I guess simple commands should work, a program may not be needed.
The error, I am getting is;
>> t = -pi:0.1:pi;
>> r = ((sin(t)*sqrt(cos(t)))*(sin(t) + (7/5))^(-1)) - 2*sin(t) + 2 ;
??? Error using ==> mtimes
Inner matrix dimensions must agree.