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
Introduction A new online system for purchasing carsis being designed and you have been contracted to write a C# console application program that models the proposed functio

Improved Support for JavaScript Debugging ASP.NET has many benefits over vintage ASP in the place of debugging. You can now quickly debug your server-side value using the complete

XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo

interference of waves

While working in the eHealth Applied Research lab at Mohawk College, you are asked to transform an xml file into an XHTML representationusing XSLT for display in a browser.The xml

Create a visualization (programming project) and demonstrate it in the class. The project should be related to distributed systems. (A distributed system consists of multiple auton

Write a Fortran LOGICAL FUNCTION, called "is_prime", which determines if a given integer value is a prime number or not (A prime number is a natural number which has only two disti

Write a Perl program ghici.pl, one of the simplest computer games. The program should generate a random integer between 1 and 1000 and asks the user to guess it. If the user ?nds t

A function that takes a list with at least 4 numbers and if three of the numbers sum is equal to the remaining numbers return #t else return #f

I need to finish my game project within two weeks using XNA. Would you guys can help me to finish it? Thank you