MATLAB: How to solve “Subscripted assignment dimension mismatch” error .. line(68) wi(:,n)=w; .
)n)=w;wi(:
what is wrong in the statement. ?
wi(:,n)=w;
I am getting "Subscripted assignment dimension mismatch" error
Best Answer
This error occurs whenwi is initialized to certain dimensions and in loop while filling the matrix with wrong number of dimensions. Check the below code, which shows the error.
wi = zeros(10,5) ;
for n = 1:10
wi(:,n) = rand(11,1) ;
end
In the abovewi is of size 10X5, but in loop I am filling first column with a vector of 11X1, so the error popped out.
You need to check the size ofw and initializewi properly. Else, you may go for cell.
The WLAN Toolbox only supports standard compliant waveforms. The IEEE 802.11ac standard does not support Midamble. For this reason, the WLAN Toolbox does not support this feature for IEEE 802.11ac.
Midamble is supported by the WLAN Toolbox for the IEEE 802.11ax standard.
Best Answer