Matlab function block

2 views (last 30 days)
Mohammed
Mohammed on 26 Jun 2012
how to change values of vector element according to a counter
like if the counter =1 then write at element one of the vector m the value of 100 m(1)=100 m(2)=200 as values 100 , 200 will be a input
  3 Comments
Kaustubha Govind
Kaustubha Govind on 26 Jun 2012
Your question is not clear. Is your question about "how to implement a counter", or about how to write elements to a vector (which it appears you already know how to do)?

Sign in to comment.

Answers (0)

Categories

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!