Statistics
2 Questions
0 Answers
RANK
139,000
of 289,749
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 19,581
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,127
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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(...
9 years ago | 1 answer | 0
1
answerQuestion
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
9 years ago | 2 answers | 0