Statistik
46 Fragen
0 Antworten
RANG
29.078
of 295.527
REPUTATION
1
BEITRÄGE
46 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
47.83%
ERHALTENE STIMMEN
1
RANG
of 20.242
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 154.057
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
A question about ismember function
Suppose I have a matrix M=[1 1 1; 1 1 1; 0 1 0; 5 5 5; 9 1 8; 5 5 5]; D=[1 1 1; 5 5 5; 9 1 8]; I=ismember(M,D,'rows'); I wan...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
What is the easiest way to remove a vector from a matrix?
Suppose there is a Loop A which returns a row vector y of the same number of columns such as matrix Q. I want to remove all the...
etwa 3 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
why coding this function returns un exact numerical results?
Ackley's Function (a=20,b=0.2) d=2. function [ y ] = objfun14 (phen ) d=size(phen,2); v=cos(2*pi*phen); x=(1/d)* sum(v,2);...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
What is gray coding?
In the genetic toolbox of matlab, there is a function which is called bs2rv which takes random binary strings and map them to re...
mehr als 4 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to compute the norm of ever row vector in a matrix?
If I have a matrix M, how to find the norm of each row in M in a single line or a funcrion? Thank you
mehr als 4 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to constructing a matrix of repeated rows v?
If I have an arbitrary matrix A and a row vector v of 1 row and the same number of columns as A. Suppose I want to construct a...
mehr als 4 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to find the position of a real vector in a matrix?
I do have a very big matrix of real numbers, I need a function that takes a vector as input and returns its position in the matr...
mehr als 4 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How can I find the position of a real number in a vector?
I have a vector v: v=[-0.9990;0.8988;2;3]; I want to find the position of -0.9990. I used find(x==-0.9990) it does not work....
mehr als 4 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to publish a script with the running time?
What is the best way to publish a code that takes nearly 30 mins with excution time?
mehr als 4 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to iteratively delete rows of a matrix?
suppose I have a matrix P and v, both have the same number of rows.and v has only one column. I need to write a loop which excu...
mehr als 4 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to plot data points without connecting them?
I have a vector of size 250 rows and 1 col. I want to plot the points only Thank you
fast 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to remove particular rows from a matrix?
I need to remove particular row from a matrix A but only once, example: A=[1 2 3 4; 1 2 3 4; 1 2 3 4; 1 1 1 1; 7 8 9 0]; y=[1 2...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to generate random matrix of 0 and 1 of distinct rows?
There is a function already in MATLAB GAtoolbox: crtbp.m that generates a random matrix of zeros and ones but when I performed t...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Why is this if statement does not work?
if (oval1x ~= sObjVal1(1) || oval1x ~= sObjVal1(end)) cd=1; else cd=Inf; end it happened that oval1x=4.2139; and ...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Why is this code stuck?
This code is a part of coding a mutiobjective genetic algorithm, the algorithm for this code is the following: Initialization: ...
fast 5 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to find where a very long code is stuck?
This code is a part of coding a mutiobjective genetic algorithm, the algorithm for this code is as follows: Initialization: Q=R...
fast 5 Jahre vor | 0 Antworten | 1
0
AntwortenFrage
How to generate random integer from 1 to N except some integers in between?
Suppose I want to generate unrepeated M integers between 1 and N. but except an arbitrary integer b s.t 1<= b<=N is there any o...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to extract some rows from a matrix which crosspond to some value in another vector?
I have a matrix D= [ 1 11 1 1; 1 2 3 4; 5 6 7 8]; V=[3 2 2]; How to extract all the rows which crossponds to v=2 ?
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to sort the rows of an array according to another vector?
If I have an array D: D=[1 1 0 1 0 1; 4 6 7 8 9 9; 1 1 1 2 3 4]; b=[2 44 0]; each row in D crossponds to a number in b: the f...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to eliminate duplicate rows in an array without changing their orders?
I have an array: DOM = [1 1 1 0; 1 1 1 0; 0 1 0 0; 0 1 0 ...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to write while a set Q is not empty do the following in matlab?
I want to write this algorithm in matlab: while Q , do - - - end(do)
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to extract some rows from a matrix and put them in another matrix?
I have a matrix Q=[ 1 2 3 4; 4 3 2 1; 6 7 8 9]; N=[1 2 3 4; 6 7 8 9]; is there a function which output: Q=[4 3 2 1]; ? I mea...
fast 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Deleting a row y from a matrix
If I have a matrix A and I want to delete all the rows, y, in A such that y=[1 2 3]; Ex: A=[ 1 2 3; 4 5 6; 7 8 9; 1 2 3]; ...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
NSGA-II: Is there someone who is willing to help me write NSGA-II code?
Hi all, I am a beginner in MATLAB though I have tried to code the NSGA-II by myself. I wrote it but it is long and it doesn't w...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
question on indexing: How to extract rows from a matrix that crossponds to certain values in another vector?
Ro = 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 ...
fast 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to find the position of a row in an array
If I have an array like this R=[1 0 1 1 1; 1 1 0 1 0; 1 0 1 1 0; 0 1 0 1 1; 0 0 1 0 1]; I want to find the ...
fast 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to input a function into a function?
I wrote a matlab function fun1 and fun2 and when I included them as inputs in third function fun3 that I wrote, it gives an err...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Counting the occurrence of a value=Inf in an array
I am given a vector for instance R=[1;2;3;4;5;6 Inf; 7; Inf]; Is there a function in matlab which has inputs R and Inf and gi...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to extract all the elements in a vector whose index is 1?
Given a vector R: R=[0.7 9 8 34 2]'; ranks=[1 2 2 2 3]; Where the first element in ranks crossponds to the rank of the first e...
fast 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to sort a vector according to another vector?
I am trying to write a code that will do thr following: Input: R=[a b c d]'; ranks=[1 2 3 1]; a has rank 1; b has rank 2; c ...
fast 5 Jahre vor | 1 Antwort | 0