Community Profile

photo

Syed


Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Returning index values (elements) of a randomly generated matrix (using ceil command) in Matlab
Hi I have a matrix/vector that has 100 randomly generated values of 0 or 1 as: matrix_nodes = ceil( rand(1,number_nodes)...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to: For loop and matrix indexing in matlab?
I = 5; % e.g number of nodes for i =1:I initial_matrix = [0]; % an initial matrix will be generated for each node...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Declaring a global variable to be used across functions and/or scripts in MATLAB
Hi I've declared a global variables I in a script file named "xyz.m" global I; T_P = ones(1,I); which will call ...

mehr als 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How to call a function in an m file in a function in another m file in MATLAB
Hi, I have two functions in separate m files in the same directory given as: 1st function: function [P] = Calculate_T...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Combining matrices of different sizes
Hi How can i combine two matrices of different sizes? e.g, x = [1 2 3 4;5 6 7 8;9 10 11 12;13 14 15 16]; y = [1 2 3;...

mehr als 10 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


random integer between 0 and 15 with equal probability
Hi, I am trying to generate a random integer between 0 and 15. I have written the following code: b=0; B=15; B = b ...

fast 11 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


MATLAB command for Union of an arbitrary collection of sets
Hi, If there is an arbitrary collection of sets (denoted by a large U in mathematics), where each arbitrary set has some limi...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matlab command for the following symbol: ∏ (Capital Pi / product of a sequence of terms)
Hi I have an equation that i want to implement in Matlab and it has the following symbol ∏ (used to denote Capital Pi or the ...

fast 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Problem in implementing nested loop
Hi, I have a function: q_avg = ∑(from q=1 to Q)q *(∑(from b=0 to U)*∑(from l=0 to L)*∑(kƐ{act,inact})) where e.g, ...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten