Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

If you only need the second output from a function, you can use a tilde (~) to ignore specific outputs. For example, you might only want the index containing the maximum value in a vector:density = data(:,2) [~,ivMax] = max(v2) densityMax = density(

1 visualizzazione (ultimi 30 giorni)
If you only need the second output from a function, you can use a tilde (~) to ignore specific outputs.
For example, you might only want the index containing the maximum value in a vector:
density = data(:,2)
[~,ivMax] = max(v2)
densityMax = density(ivMax)
Try getting the index value of the minimum value in v2. Use this index to extract from density.
please explain

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by