Borrar filtros
Borrar filtros

how to display answer in a particular format

2 visualizaciones (últimos 30 días)
Elysi Cochin
Elysi Cochin el 18 de Mzo. de 2013
on calculation i obtain a value as
0.2957 0.5700 0.8637 0.9657
0.1917 0 + 0.1514i 0 + 0.4231i 0 + 0.5181i
if it contains real and imaginary part i want only the value 0.1514 to be stored in a variable.... how to do that....

Respuesta aceptada

Image Analyst
Image Analyst el 18 de Mzo. de 2013
yourVariable = imag(value(6)); % Get imaginary part of element #6.

Más respuestas (0)

Categorías

Más información sobre Logical 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