I have a vector of (50,1) I need to apply a formula and perform calculations on each element in the vector how do I achieve this?

# MATLAB: Performing calculations on a vector

loopsMATLABvectorvectors

###### Related Question

- How to execute the algorithmic operations like summation, cross etc. in matlab
- Error: Unable to perform assignment because the left and right sides have a different number of elements.(line 25)
- Avoiding many if-Statetments in a for-loop
- Function – Input is a numeric vector x (any length). Return value is a list of string and matlab

## Best Answer