Matlab error, computer programming, Programming Languages

n2=2:100;
t=3;
while t<=100
{
g3(t)=(1/2)*(0.63)*(0.8.^(n2));
t=t+1;
}
g3(1)=0;
g3(2)=0;

what is wrong with the code above? it tells me that line:

g3(t)=(1/2)*(0.63)*(0.8.^(n2));

The expression to the left of the equals sign is not a valid target for an assignment.
Posted Date: 2/28/2012 4:28:33 PM | Location : United States







Related Discussions:- Matlab error, computer programming, Assignment Help, Ask Question on Matlab error, computer programming, Get Answer, Expert's Help, Matlab error, computer programming Discussions

Write discussion on Matlab error, computer programming
Your posts are moderated
Related Questions
Hi, Can any of you, tell me how to use Included Applications?

#question. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Description: *

Expertsmind brings you unique solution in java assignments Networking The term system selection represents composing applications that do across several gadgets (computers

creating system flowchart for website

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

What is the switch Statement? This is a different form of the multi way decision that It is well structured, but can only be used in certain cases where: 1. Here, Only one var

Write a Prolog predicate  has_duplicates(L)  that is true if list  L  contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,

Vacation Envy - Travel and Photo Sharing Website Site Overview- Vacation Envy is a travel as well as photo-sharing site. Make your travel map, share photos and show off al

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

i''ve a problem with rendering a page with django templates