Programming Languages:
C++, C, Java, Javascript, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, Fortran
Spoken Languages:
English
C++, C, Java, Javascript, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, Fortran
Spoken Languages:
English
Statistica
All
RANK
8.819
of 301.537
REPUTAZIONE
5
CONTRIBUTI
1 Domanda
5 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
1
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
In a (possibly directed) graph, is there a simple way to find all nodes reachable for a given node?
I've recently started working with MATLAB graphs. In two recent problems, I have graphs which are not known to be connected eve...
circa un anno fa | 2 risposte | 1
2
risposteRisposto
Does matlab have any function that can compare multiple numbers and return logical value zero or one?
With a vector of singles or doubles, you could use ~std([a b c d]). If all the values are the same, the standard deviation will...
Does matlab have any function that can compare multiple numbers and return logical value zero or one?
With a vector of singles or doubles, you could use ~std([a b c d]). If all the values are the same, the standard deviation will...
oltre 3 anni fa | 0
Risposto
How to search for substring in cell array and get the corresponding index then?
If I'm understanding correctly, cellfun(@numel,strfind(string(val),"EXPERIMENT")) will give you a matrix with 1's where th...
How to search for substring in cell array and get the corresponding index then?
If I'm understanding correctly, cellfun(@numel,strfind(string(val),"EXPERIMENT")) will give you a matrix with 1's where th...
oltre 3 anni fa | 0
Risposto
Removing duplicate rows (not "unique")
%Here's a much cleaner way to do it with 2019a or later! [B,BG]=groupcounts(A); A_reduced=BG(B==1); % or just A if you want th...
Removing duplicate rows (not "unique")
%Here's a much cleaner way to do it with 2019a or later! [B,BG]=groupcounts(A); A_reduced=BG(B==1); % or just A if you want th...
oltre 3 anni fa | 0
Risposto
Calculating GeoMean of a double array
% Here's some data for a sample A=magic(4) % And here we'll calculate the geometric mean of each column vect=prod(A,1).^(1/...
Calculating GeoMean of a double array
% Here's some data for a sample A=magic(4) % And here we'll calculate the geometric mean of each column vect=prod(A,1).^(1/...
quasi 4 anni fa | 0
| accettato
Risposto
How to append arrays of different lengths
What about something like: function cat=horzcat_pad(a,b); % How long is the longer matrix? longer=max(length(a,1),lengt...
How to append arrays of different lengths
What about something like: function cat=horzcat_pad(a,b); % How long is the longer matrix? longer=max(length(a,1),lengt...
quasi 4 anni fa | 0











