Need help in varying input and using conditional statement in code

Hi, I have been running my code with different initial values for many runs but it is very rigorous work to find the optimum set of values.I want to check my code for varying input parameters/- Q(varying monthly),N(1),P(1),TIC(1). Also, I want to put a conditional statement for N/P and C/N in the code to change the formula as per scenario. Can you guide me in right direction?

1 Comment

Please comment on:
  • t is passed as input argument in all six anonymous functions. However, t isn't used in any of them.
  • P and TIC are used in the anonymous function named X. However, they are not passed as input argument. Thus, the values of P and TIC at the time of the creation of the functions will be used. Is that by intent?
  • N and TIC are used in the anonymous function named Y. However, they are not passed as input argument. Thus, the values of N and TIC at the time of the creation of the functions will be used. Is that by intent?

Answers (0)

This question is closed.

Tags

No tags entered yet.

Asked:

on 3 Nov 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!