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
Question 1 Explain the three traits of Object Oriented Programming Question 2 Write a note on (a) Assignment Operators                             b) Bitwise Operators.

The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of t

1. CMP and SUB CMP is used for comparing 2 registers by subtraction them from one another, but answer is not saved, whereas SUB subtracts 2 registers and saves the answer.

Please write a program declaring a variable x as the type int, and use the scanf function to input an integer to initialize the value of x. Then, your program will print the follow

I do have an assignment in operating systems programming ... how can i attach my file?

I am building wpf application and i want to install this application on a server pc and share it to other pces on a net work , my question is i have static class that contain data

program the following exercises using JAVA and JENA API: SPARQL endpoint to be queried: QUERY:">http://services.data.gov.uk/education/sparql QUERY: What are the school’s names th

Question 1 Explain the history of Internet Question 2 What are the advantages of DHTML? Question 3 Explain the concept of DOM Question 4 How does AJAX work

I need help for C# XNA 2Dimension Game Development. I am gonna send the question and my solution(incomplete). I need you to complete it. Can you help me about that. I have 6-7 days

You are to Use ASCII operations to design an IA-32 assembly language program which will do addition and subtraction on positive integers of any length represented in characters. T