Community Profile

photo

Syed


9 total contributions since 2013

Contact

Syed's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


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)...

más de 6 años ago | 1 answer | 0

1

answer

Question


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...

casi 7 años ago | 1 answer | 0

1

answer

Question


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 ...

casi 7 años ago | 1 answer | 1

1

answer

Question


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...

casi 7 años ago | 1 answer | 0

1

answer

Question


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;...

casi 7 años ago | 2 answers | 1

2

answers

Question


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 ...

casi 7 años ago | 3 answers | 0

3

answers

Question


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...

casi 7 años ago | 1 answer | 0

1

answer

Question


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 ...

casi 7 años ago | 2 answers | 0

2

answers

Question


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, ...

casi 7 años ago | 0 answers | 0

0

answers