fitlme function - does it support complex number input?

조회 수: 2 (최근 30일)
Nitin Williams
Nitin Williams 2016년 5월 3일
편집: Nitin Williams 2016년 5월 3일
I have two angular variables X and Y which I want to relate through a linear mixed-effects model (i.e. fixed effects and random effects). Both X & Y are vectors, with dimension N x 1. Since they are angular variables, I represent each of them as complex numbers, using the operations:
Xc=exp(1i*X);
Yc=exp(1i*Y);
Can I now use these two variables as input (through a table) to the fitlme function in MATLAB? The fitlme function in turn calls the LinearMixedModel.fit function.
Just for info: I tried relating complex variables through the 'regress' MATLAB function and it works fine.
Any help much appreciated!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by