Hi i have my code which gives me an out out but it will not graph ,here is the code (Matlab) : Hey i have written this code and it will not plot , I run it with a 0:.5:100 and get a blank graph in matlab. as well this is a inclined plane friction problem. I need to create an animation in matlab that shows the blocks sliding based on inputs . i don't even know how to bigin 
Thanks as always you guys rock


%Numerical Project Code 1

%mass ratio input
mratio = input('Enter the Mass Ratio(m/M): ');
%angle input
theta = input('Enter Angle in Degrees Between 0 and 90: ');
%static coeff input
mus = input('Enter Coefficient of Static Friction: ');
%kinetic coeff input
muk = input('Enter Coefficient of Kinetic Friction: ');

%constants
g = 9.81;

%interface formating
disp('--------------------------------------------');
disp('All Friction Forces are given in terms of the mass on the slope (M)');


%Loops
%NETUP

if mratio > sind(theta)
    %static only
    if mratio <= (sind(theta) + (mus*cosd(theta)))
        ff = g*(mratio - sind(theta));
        fprintf("Friction Force = %f M Newtons\n",ff);
        fprintf("The Direction of the Friction Force is down the slope and the block not moving.\n")
        
    
   
        
    %kinetic only
    else
        ff = muk * g * cosd(theta);
        fprintf("Friction Force = %f M Newtons\n",ff);
        fprintf("The Direction of the Friction Force is down the slope and the block is sliding up the slope.\n");
  
         
    end
   


%NETDOWN

elseif mratio < sind(theta)
    %static only
    if sind(theta) <= (mratio + (mus*cosd(theta)))
        ff = g*(sind(theta) - mratio);
        fprintf("Friciton Force = %f M Newtons\n",ff);
        fprintf("The Direction of the Friction Force is up the slope and the block is not moving.\n")
        
 
      
    %kinetic only
    else 
        ff = muk * g * cosd(theta);
        fprintf("Friction Force = %f M Newtons\n",ff);
        fprintf("The Direction of the Friction Force is up the slope and the block is sliding down the slope.\n");
        
         
    end


%NETZERO

else
    fprintf("Friction Force = 0 Newtons\n");
    
     
    
end


%graph
for i = 0:0.01:1
    
    mratiog = i;
    
    if mratiog  > sind(theta)
        
        if mratiog <= (sind(theta) + (mus*cosd(theta)))
            ffg = g*(mratiog - sind(theta));
            
            
       else 
            ffg =  muk * g * cosd(theta);
            
     
        end
        
        
        
        
    elseif mratiog < sind(theta)
        
        if sind(theta) <= (mratiog + (mus*cosd(theta)))
            ffg = g*(sind(theta) - mratiog);
            
        else
            ffg = muk * g * cosd(theta);
           
    
       end
        
        
        
    else
        ffg = 0;
    
    end
    
  plot (ffg,mratio, 'r:')
end





        