To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I am stuck in coding a algebric equation Y=exp[1+∑_(j=1)^2▒〖[[Aj-Ajexp(1-∑_(i=0)^10▒〖Bij*Xi)〗〗/1- exp^2 (1-∑_(i=0)^10▒〖Bij*Xi)〗]
A,B,X are some random matrices and for some reference the code below can be considered and i want to know how to remove the complex part of an exponential to subtract it from a constant as in the numerator of above equn
clc clear all close all NI=2; NH=10; B=randint(NI,NH,[1,20]) i=1:NI j=1:NH % i(1,1),i(1,2) A=randint(10,1,[1,10]) A(1,1) x=[1 2] c=x*B C=1-sum(c) exp(C) d=A*expm1(c) f=sum(d) real(f) square(exp(c)) %
No products are associated with this question.