Define the variable a:

Use this to calculate x:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers580
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
451 Solvers
-
Matrix indexing with two vectors of indices
781 Solvers
-
378 Solvers
-
6276 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!