Undefined function or method 'mtimes' for input arguments of type 'cell' ERROR
Mostra commenti meno recenti
Hi everyone,
Ed = cell(1, lc); lc>1
--------------------------------------------
function [es]=bar3s(ex,ey,ez,ep,ed)
b=[ ex(2)-ex(1); ey(2)-ey(1); ez(2)-ez(1) ];
L=sqrt(b'*b);
n=b'/L; G=[ n zeros(size(n)); zeros(size(n)) n ];
E=ep(1); A=ep(2); Kle=E*A/L*[ 1 -1; 1 1];
N=E*A/L*[-1 1]*G*ed';
es=N;
Error in ==> N=E*A/L*[-1 1]*G*ed';
Risposte (1)
Azzi Abdelmalek
il 14 Dic 2014
Use
N=E*A/L*[-1 1]*G*[ed{:}]'
5 Commenti
Hamid
il 14 Dic 2014
Azzi Abdelmalek
il 14 Dic 2014
Provide some data to test your code
Hamid
il 14 Dic 2014
Azzi Abdelmalek
il 14 Dic 2014
What is ex ? provide all the needed data
Hamid
il 14 Dic 2014
Categorie
Scopri di più su Encryption / Cryptography in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!