Community Profile

photo

Abhishek Mishra


Last seen: 3 years ago Active since 2020

Statistics

  • First Answer

View badges

Content Feed

View by

Question


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(
If you only need the second output from a function, you can use a tilde (~) to ignore specific outputs. For example, you migh...

3 years ago | 0 answers | 0

0

answers

Answered
extract first row from matrix
You can combine indexing with assignment to change array values to equal other elements. For example, this code would change the...

3 years ago | 0