photo

Waseem AL Aqqad


Last seen: 5 Monate vor Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

MATLAB Answers

27 Fragen
4 Antworten

RANG
35.079
of 300.365

REPUTATION
1

BEITRÄGE
27 Fragen
4 Antworten

ANTWORTZUSTIMMUNG
85.19%

ERHALTENE STIMMEN
1

RANG
 of 20.933

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 168.262

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

  • Thankful Level 4
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to plot and save the content of a 5D array?
Hello, I have a 5 dimension array M_ii (attached). It's size is 25x50x3x14x2. I want to plot and save the following on the same...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Preallocate variables with unkown size
I pre allocate the two variables phi and phiPrime by setting a maximum size and then crop them afterwards. The thing is that bot...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to check if there is an edge between two nodes in an undirected graph?
How can I check if any two nodes in an undirected graph are connected via an edge or not, please? in other words, Are they neigh...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I plot phase diagrams in MATLAB?
Is it possible to plot phase diagrams as the attached ones using MATLAB? Thanks!

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I write N-dimensional numeric array into excel sheet?
I have a 1x120x289 numeric array (attached) that I want to write the different 289 pages into 289 different colomns in one excel...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to distinguish specific nodes in an undirected graph ?
Hello, I have an attribute of an undirected graph called G.Nodes.Load. Where in every time step some of its values change to -...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I assign an empty value to a variable without getting the error "Unable to perform assignment because the left and right sides have a different number of elements."
MATLAB treats empty values as an empty vector. So, how can I avoid the afforementioned error in this case: f = zeros(1,50); f...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I form a matrix of all possible values of three variables?
I have three variables (bgt, Trigger, alpha), and each one of it could take any value from the set of three values {0.1, 0.5, 0....

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why does the genetic algorithm in this case run only for one generation? and it's very slow.
I'm using ga() for optimizing a 4-variable objective function. Below is my scrpit and attached file is the result. ga runs onl...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to solve this error when I use fmincon?
In the script below, I try to optimize the resiliency of a complex network using fmincon. But after some time of running my scri...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to call functions from inside an if statement only once?
How can I call both decision and implement functions from inside the if statement just for once, and then call them without usin...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Importing data into MATLAB with .mtx format
It works! Thank you so much, Cris!

fast 4 Jahre vor | 0

Frage


Importing data into MATLAB with .mtx format
I have an mtx file of real data, and I'm using Microsoft Visual Studio to read it. MATLAB cannot see the mtx file when I try to ...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Is it possible to save an output of a function and pass it as an input to another function after some time steps?
So, I have three functions that I call every time step: for ii = 2:50 [G_dmg,Output2,output3] = Stages(G_dmg, Input2, Input3); ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there more efficient way to find the neighbors of two nodes or more other than using a loop?
The built in function "neighbors" accepts only scalar inputs, so I wonder if there is more efficient way than performing the fol...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why do I get a wrong answer when I use FIND function in this case?
I have a graph structure "G_dmg.Nodes.Load" which has typically 40 "-inf" values and 10 other numbers ~= -inf. In my script: ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I execute two functions with a time delay between the two calls?
I have the following script: [G_d,G_o, isolated,active,phi] = Single_CF_initial(G,50,1,0.2); for tt = 2:25 if isolated(t...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How is it possible to plot the average of a vector that has a different size in each iteration?
I'm trying to obtain a plot of M by averaging 10 simulations of M, but the problem is that it has a different size in each run. ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Same number of columns, but getting "Dimensions of arrays being concatenated are not consistent" error
Hi Liam, Your two arrays should have the same number of rows when you use horzcat. d=[1;2;3;4;5;6;7]; f=[3;4;5;6;7;8;9]; hor...

mehr als 4 Jahre vor | 0

Beantwortet
if condition for counting
B=randi(10,1,815); idx=find(B>4); B(idx);

mehr als 4 Jahre vor | 0

Frage


How can I find the Members of the largest component of a graph?
I'm trying to find the members of the largest component of a graph that I added names to it's nodes, however my code below doesn...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to prevent the function rmnode from refreshing the nodes' labels?
I have a graph G which consists of 20 nodes, and I'm selecting a random node and remove it from the graph using rmnode. At each ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make nodes' removal from a graph as a function of time?
Hello, I'm simulating failures of nodes in an interdependent system (two graphs, g and h) and their adjacency matrices are A a...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I call multiple M functions?
Hello guys, I'm trying to run the function "WattsStrogatz" 100 times and in each iteration I want to run the function "Test_Hea...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Sum the elements of row vectors
Hi, How to let my code in every simulation run to check the sum of two row vectors and change some of the elements' values of t...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to avoid an Infinite Loop?
Hi, I'm encountering an infinite loop problem. I tried to debug my code but couldn't figure it out, so I would appreciate your...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Calling a function multiple times in a for loop.
Hi, I'm calling my function function psiA=test_M(rmv) multiple times, and I'm passing different input arguments each time. ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Executing the body of IF statement.
Hi, Why MATLAB is not executing the body of the following selection if statement eventhough I believe the condition is true? Yo...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to build links between two graphs on the same figure?
Hi, I am encountering a problem trying to simulate interdependent systems (graphs), I constructed and built two different graph...

etwa 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


how can I convert a double image into gray unit8 image?
Lets say that we have a 256x256 double image, how can we convert it into a 256x256 uint8?

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden