
#1
Jun310, 03:04 PM

P: 73

I am trying to do a very simple problem on MATLAB, but I do not know much about MATLAB so this is challenging. Here is the code:
??? Error using ==> mpower Inputs must be a scalar and a square matrix. Error in ==> beachprof at 5 h=A*y^(2/3); % h is the shoreline depth under water What is going on here and how can I fix it? 



#2
Jun310, 10:33 PM

P: 448

Your problem is in this line:



Register to reply 
Related Discussions  
Problem solving equation with negative exponent  Calculus & Beyond Homework  8  
Matlab ODE problem  Math & Science Software  3  
confusing exponent problem  General Math  3  
Exponent problem  General Math  10  
exponent integral problem  Calculus  4 