error - not enough input arguments......in a function

1 vue (au cours des 30 derniers jours)
vinod kumar
vinod kumar le 30 Avr 2014
Modifié(e) : Matt J le 30 Avr 2014
the following function Vheatsource.m is showing error for not enough input arguments ...... after supplying all the relevent input arg... Vheatsource.m
function [ QV ] = Vheatsource( x, y, z, ro, re, ri, H, q, betatwo )
QV=zeros(11*101,101);
for kk=1:11
for ii=1:101
for jj=1:101
QV((kk-1)*101+ii,jj)=((9*q*exp(3)*betatwo)/(pi*(exp(3)-1)*H*(re^2+ri^2+re*ri))*exp((-3*((x(jj)^2)+(y(ii)^2)+(z(kk)^2)))/((ro((kk-1)*101+ii,jj))^2)));
end
end
end
where
the input x,y,z is taken from a function heatsourceposiyioning.m which is giving desired result. ro is determined by Rnod.m and running properly. ri, re, H, q have constant values
  1 commentaire
Matt J
Matt J le 30 Avr 2014
Modifié(e) : Matt J le 30 Avr 2014
We need to see the full and original error message copy/pasted, instead of a transcribed summary.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by