Community Profile

photo

Abhishek Mishra


Last seen: 1 month ago
2 total contributions since 2020

Abhishek Mishra's Badges

  • First Answer

View details...

Contributions in
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...

1 month 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...

1 month ago | 0