can you please say why the error coming at the line 168. can you please give the solution?

2 views (last 30 days)
%Calcul des coeff des polynomes p21 & p32
%pressure and temperature measurements at different levels.
[residus_montant,Stat_montant] = Calcul_Coef_21_32(SN,'montant',table_pression_kPa_montant,P_montant,T_montant);
[residus_descendant,Stat_descendant] = Calcul_Coef_21_32(SN,'descendant',table_pression_kPa_descendant,P_descendant,T_descendant);
%calculates the coefficients for a third scenario, labeled "full", which likely refers to the entire data set
[residus_full,Stat_full] = Calcul_Coef_21_32(SN,'full',table_pression_kpa,P,T);
error:
seuil_palier_T =
10
Error: File: Calcul_Coef_21_32.m Line: 1 Column: 3
Function definitions are not permitted in this context.
Error in extract_palier_P0_P21_P32_montant_descendant (line 168)
[residus_montant,Stat_montant] = Calcul_Coef_21_32(SN,'montant',table_pression_kPa_montant,P_montant,T_montant);

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!