Community Profile

photo

hadi


13 total contributions since 2012

Contact

hadi's Badges

  • First Review
  • Thankful Level 2

View details...

Contributions in
View by

Question


Why changing a specific element in a vector matrix makes the unchanged elements zero?!
I have the following code, where there are two rows, the first one has a set of values, the second one is a sorted version of it...

1 year ago | 1 answer | 0

1

answer

Question


How to divide the space under a normal probability density function (pdf) into equal probable intervals?
Hello everyone, I have a random variable normally distributed with known mean and sigma, I want to divide the random variable...

3 years ago | 1 answer | 0

1

answer

Question


How to display a row on command window?
Hi All, Assume I have the following: if true X{1}=[1 2 3]; X{2}=[2 2]; X{3}=[3 4 5]; end I want to ...

4 years ago | 1 answer | 0

1

answer

Question


How to plot a line between the corresponding point on the x y palne?
Hi All, I have the first set of points that are defined as follows: N=5; Xmax=200; Ymax=200; AP_X=Xmax*rand(1,N);...

4 years ago | 1 answer | 0

1

answer

Question


How can I fix an Out of Memory error?
Dear All, I am running a quite large code on my university supercomputer, and I keep getting the following error: Error ...

4 years ago | 4 answers | 0

4

answers

Answered
How to modify a function to make it accept an array of arrays or a cell of arrays?
This is the correct answer: %%%%%%%%%%%%%%%%%%%%%%%%%%%%% clc clear all close all for i=1:2 p{i}=[2^i-1 ...

5 years ago | 0

| accepted

Question


How to modify a function to make it accept an array of arrays or a cell of arrays?
Hi All, I found the attached file on internet, this file is a function that gives all the combinations of all elements of the...

5 years ago | 1 answer | 0

1

answer

Question


How to construct a cell of arrays from an array of arrays?
*Dear all,* I have the following code, and I want to make a cell of arrays from an array of arrays, but I have an error. *...

5 years ago | 2 answers | 0

2

answers

Question


How to use subs with sym
Dear All, I have the following code: clc clear all close all f=@(x,y)x^2+y; f=sym(f); out=subs(f,x,2) Co...

5 years ago | 1 answer | 0

1

answer

Question


I want a numerical or fast multidimensional integral
I have the following code: if true clc clear all close all tic syms x1 x2 x3 x4 x5 warning off; X=[x1-12.568; x2+9.56...

5 years ago | 1 answer | 0

1

answer

Question


How to interpret Binary '0' and '1' as Decimal 0 and 1?
Hi all, I have the following program: c=dec2bin(0:3,2) sum(sum(c)) And I get the output: c = 00 01 10 ...

5 years ago | 1 answer | 0

1

answer

Question


Random number of nested for loops
Dear all, I have the following problem: I want to input an integer number 'N', then inside the program I need to generate au...

5 years ago | 1 answer | 0

1

answer

Question


How can I convert a raw matrix into a sequence of digits?
I need to convert a raw matrix into a sequence of digits (single element matrices)using simulink block that gives one element a...

7 years ago | 1 answer | 0

1

answer