I want to assign values in column 2-6 corresponding to each element in coulmn 1

1 visualización (últimos 30 días)
kindly tell the functions required for writning the program and explain them as well
  2 comentarios
James Tursa
James Tursa el 24 de Dic. de 2017
Please provide a small example of input(s) and desired output(s).
N/A
N/A el 27 de Dic. de 2017
a=[rice wheat cotton]
b=[3kg 2 kg 5kg]
now what i want is that rice should come equal to 2kg and like this
rice=3kg
wheat=2kg
cotton=5kg

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 26 de Dic. de 2017
It is a straight forward job..if you know how to index matrices sin matlab..please read about this here: https://in.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html.
  2 comentarios
N/A
N/A el 27 de Dic. de 2017
but i actually wanted something like i mentioned in a previous comment on james tusra comments

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Financial Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by