Feeds
질문
Function to extract certain elements from a character array
function [user_name,domain_name] = GetUserAndDomain(email) user_name=email(1:strfind(email,'@')-1); domain_name=email(strfind(...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
I'm trying to compare components of an array using relational operators, and the outcome needs to be either true or false. My result is a row vector of logicals; how do i make sure the result is just a single 1 or 0?
A=rand(15,10); B=any(A(8,:))==max(A); B= 0 0 0 0 0 0 0 0 0 0
11년 초과 전 | 답변 수: 2 | 0
