Bhargav Boddupalli
Followers: 0 Following: 0
Feeds
提问
Extracting a constant values from a 2D matrix
Hi, Is there a function which can be used to extract constant/nearest value to a particular value from a 2D? Thanks
5 years 前 | 1 个回答 | 0
1
个回答提问
Improving my code - I'm trying to generate a checkerboard of size (222,786); length of each size 20. My code did work but I feel the logic can be improved. Kindly help.
% Channel number 90 to 875 chan = 1:1:786; no_of_chan=length(chan); % ffid 77 to 298 ffid = 1...
7 years 前 | 1 个回答 | 0
1
个回答提问
I'm trying to check for a NaN value in an array in if condition expression but the control is not entering inside if condition.
For example : A = [1 2 3 NaN 3 5]; if isnan(A) ~= 0 %... end
7 years 前 | 1 个回答 | 0