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
what is the optimal solution for this problem? Max 1A + 1B s.t. 5A +3B 3A + 5B A,B >0

How to create an ER diagram?

1. Write out a detailed plan for a program to find the largest value in an array that is smaller than a ceiling C. For example, suppose the array has the values {4, 14, 11, 100, 6}

I need help putting this into a flowchart constant c as Integer = 3500 Constant CALORIESTOOUNCE as Integer = 219 Declare Sex as Character Declare Age as Integer Declare Weight as I

Question 1 Discuss on Inheritance Question 2 What are the four phases of the object modeling technique that can be repetitively executed? Question 3 Explain the di

wat is- m=5; n=3; x=m++-n+++m;

(a) Write a procedure called (lookup n t). This procedure has 2 arguments: n is the value being looked up, t is the AVL tree. The subtree with n as its root is returned (or '() if

I am trying to get right side triangle in visual logic using for loop

code for using tree view control and fill it with database using asp.net and language vb.net

Please explain about sub programming.