Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi there; i am trying to run this code by using MATHLAB and i got this message in the command widow (unable to perform assignment
Hi there;
i am trying to run this code by using MATHLAB and i got this message in the command widow (unable to perform assignment because the indices on the left side are not compatible with the size of the right side). Could you help me get rid of this message?
clc 3 clear -eps 5 6 0-0.5; gam-1; eps2-0.5; beta-0.6; k=-pi : 0.001:pi; L-2.*gam.*sin(k); E--2:0.001:2 for y-1:length (E) 10 12 13- 14 15 16 17 E2-E (y)-eps2; alpha-(beta) . ^2 . / (L. * (E2) ) ; rt-1+ (alpha) .*2; T (y)E1./rt end Command Window Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. Error in dangling (line 15) T (y)-1./rt
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started