Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Need help in varying input and using conditional statement in code

1 vue (au cours des 30 derniers jours)
KAPIL MAMTANI
KAPIL MAMTANI le 3 Nov 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
per isakson
per isakson le 4 Nov 2015
Modifié(e) : per isakson le 4 Nov 2015
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?

Réponses (0)

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by