Question

file Identifier Error in parfor loop

Hi all I want to write many *.txt file in a parfor loop in MATLAB. I use fopen and fprintf. when I use for-loop, the *.txt fi...

1 year ago | 0 Answers | 0

Question

setting initial Vlaue for optimtool

Hi all I want to minimize a function with an array of 2000 element as input argument using GA optimization algorithm in MATLA...

1 year ago | 0 Answers | 0

Question

the inversion of large impedance matrix in MOM

Hi all I try to analyse a structure using method of moment which produces large dense squared impedance matrix. when I try to...

1 year ago | 1 Answers | 0

Question

matrix index in Parfor loop

Hi all. for code I write below, I want to use Parfor but MATLAB report an Error for definition t(s):ts(s)+a as the index of matr...

2 years ago | 1 Answers | 0

Question

large 3D Matrix calculation

Hi All I have two large matrix and I want to calculate an expression without for loop. this expression is something like matrix...

2 years ago | 3 Answers | 0

Question

speech analysis in matlab

Hi all I Have an audio clip from a speech.I want to specify the start and end times of each word in this file.for example suppo...

3 years ago | 1 Answers | 0

Question

hermitian symmetry in IFFT !

Hi all. I have a matrix as a 2D spectrum. now, I want to transform it to time domain. when I use IFFT, the results are complex ...

3 years ago | 2 Answers | 0

Question

Calculating the volume inside an arbitrary closed surface

Hi all I want to calculate the interior volume of a closed area. the aria is limited to: -l<x<l , -l<y<l , 0 < z < f(x,y) Cou...

4 years ago | 2 Answers | 0

Question

linking function and GUI

Hi all I want to run a function by clicking a push button and display comment of that function in a text box.How can I do tha...

5 years ago | 1 Answers | 0

Question

creating message dialog box

Hi all I want to create a message dialog box with an arbitrary figure.How can I do that?

5 years ago | 2 Answers | 0

Question

meshing a surface in pdetools

Hi all I want to triangular meshing surface z=f(x,y) -that the function of f(x,y) created with a Mfile, and it isn't predefined...

5 years ago | 1 Answers | 0

Question

Variable in PARFOR

Hi I have a loop in my code for calculating a matrix that index of matrix, determined in loop. for example: for ii=1:100...

5 years ago | 2 Answers | 0

Question

GA Optimization with considering limitation

Hi all I want to optimize an analytic surface equation [for example :f(x,y)=C1*cos(a1*x)cos(b1*y)+C2*cos(a2*x)*cos(b2*y)+... ...

5 years ago | 0 Answers | 0

Question

matlabpool RAM occupation

Hi all When I use command "matlabpool open 8" in my Mfile, RAM of my system(4G total) occupied up to 70% and it remain in thi...

5 years ago | 2 Answers | 0

Question

finding NON in matrix

Hi all In the matrix A which is 1*N matrix, I want to recognize if there is any element equal to NON in it,I replace it by zero...

5 years ago | 2 Answers | 0

Question

expanding matrix

Hi all I want to expand matrix.for example if x=[x1;x2] then the new matrix will be: xx = [x1 x1 x1;x1 x1 x2;x1 x2 x1;x1 x...

5 years ago | 2 Answers | 0

Question

numerical integration

Hi all I want to numerically integral a function with four variable(f(x,y,z,v)).how can I use dblquad?

5 years ago | 1 Answers | 0

Question

erfc with complex number

Hi all I want to compute erfc(.) of a complex number. How can I do that? Is there any way to use erfc(.) of matlab?

5 years ago | 1 Answers | 0

Question

Matrix Conversion

Hi all I have a 1-by-N^4 matrix that I want to convert in to N^2-by-N^2 matrix(for example:a=[1 2 3 4] to b=[1 2;3 4]). I us...

5 years ago | 1 Answers | 0