# Question: how do you enter such a formula into matlab where...

###### Question details

How do you enter such a formula into matlab?

where 86400 (wind turbine)+ 46480 (pv panel)+3000 (battery bank) are intial capital cost. then after 2592+464+30 respectively are yearly operation and maintenance costs and there being another replacement cost of 3000 for the battery bank every 3 years.