Question

opening structure in a loop

hi all, i have this type of data: % data_1.mat data_2.mat......data_50.mat. they are structure and contains: as exemple d...

8 years ago | 1 answer | 0

Question

a proble with saving data with index

Hi all, i have this Problem i want to save this data in this variable. I did it like this : % data_to_be_saved=[1 2 3...

8 years ago | 2 answers | 0

Question

Matlab GUI and license

Hi all, i want to develop a gui. This gui uses some functions from diffrent Toolboxes. Could someone who doesnot have a matlab ...

8 years ago | 1 answer | 0

Question

indexing a variable in matlab

Hi, How could i parametrize a data set in matlab. for exemple: MeasNr=1 Meas_(MeasNr) to get Meas_1? thank you

8 years ago | 2 answers | 0

Question

Number of Inputs of a function

Hi all, I have a problem with choosing the Input of this function: [Outputs]=function[In1,In2,In3,In4,..In7] M=regre...

8 years ago | 1 answer | 0

Question

FFT in 3D matrix

Hi all, is there any pssibility wothout for loop to do the FFt of this: F_domain = FFT (t_domain). t_domain is a matrix of...

8 years ago | 1 answer | 0

Question

daetnum for a formatin

hi all, is it possible to use this Format for datenum? formatIn='dd.mm.yyyyHH:MM' thank you

8 years ago | 1 answer | 0

Question

for loop for matlab files

Hi all, i have a group of M-files. they ara named in this manner: % M1.m M2.m . . . how could i read these fil...

8 years ago | 2 answers | 0

Question

a problem with for loop and indexinf

Hi all! i have 10 Arrays. they have the Name Array_1..........Array_10. for all of the Arrays i want to make some mathemati...

8 years ago | 2 answers | 0

Question

plot point in specified position

Hi experts, i have this vector for exemple: %A=[1 2 3 5 6 4]; i want to plot the A(1) in the 10th position , the A(2) ...

8 years ago | 1 answer | 0

Question

fill a range with specified color

Hi all! i have these vectors: %A=[1:5] %b=[2 2 2 2 2] %c=[4 4 4 4 4] plot(A,b,A,c) how could i plot the the Ran...

8 years ago | 1 answer | 0

Question

a queston to plot

hi all i have variables : a1, a2, ...........................a100 i want to plot them in one plot: i wrote this program to...

8 years ago | 2 answers | 0

Question

a simple Question about loops

Hi All for exemple: %% % a=[1 2 3 5 4 8]; v=[] v(1)=a(1); for k=2:length(a) if(k<3) ...

8 years ago | 1 answer | 0

Question

calculation of successive diffrence

Hi all! I have a problem with this : I have an array: % A=[a1 a2 a3 a4 ......an] i want to calculate succesivelly the...

8 years ago | 2 answers | 0

Question

a problem with a function

hi all ! i wrote this simple function % function [ output_args ] = fract_int16( input_args ) if input_args<0 ou...

9 years ago | 3 answers | 0

Question

convolution of two vector

hi ! i want to convolute a vector a=[a1 a2 a3 .....an] with the vectors in this matrix b=[B1 B2 B3....Bn]. B are vectors. ...

9 years ago | 2 answers | 0

Question

splitt a matrix in specified manner

hi! Ho to manipulate this matrix in this manner: %% A=[a11 a12 a13 a14 a15 a16......... a21 a22 a23 a24 a25 a26..........

9 years ago | 2 answers | 0

Question

problem reading a text data

´hi all! i have a big text file. Its form is : %% 32761 43718 0 0 10847 21163 0 0 22127 10953 0 0 21791 10780 0 0 ...

9 years ago | 1 answer | 0

Question

extract data from a text data.

Hi all! i have a text file. it is constructed like this: %% input start1 a:12 b:1.5 c:1.75 d:0.25 a:52 b:3.5 c:2.75 ...

9 years ago | 1 answer | 0

Question

confused with atan2d for negative number

hi, why is atan2d(-3,-1) is diffrent than atan2d(3,1)? thank you

9 years ago | 1 answer | 0

Question

atan2 of successive point in an Array

Hi all! how could i calculate the atan2 for this Vector in this way: %% A=[a0 a1 a2 a3 a4......] atan_vec=[atan2(a1,a0)...

9 years ago | 1 answer | 0

Question

int16 and fixed point transformation

Hi All! I am trying to build a process wich take place in a DSP . I want to evaluate with matlab. I get uint16 data from the...

9 years ago | 0 answers | 0

Question

FFT of Sampled data

Hi all I have a sampled data of the length 1024. the sampling frequency is 400kHz. I want to split this data in two Vectors...

9 years ago | 1 answer | 0

Question

how to change this matrix in this manner?

how to manipulate this matrix without for loop: %% A=[a1,b1,c1,d1.......;a2,b2,c2,d2..........;a3,b3,c3,d3.......;a4,b4,c4,...

9 years ago | 2 answers | 0

Question

manibulation of 3d matrix

hi all! I have a matraix: %% A(1,:,:)=[a1 a2 a3..;a11 a22 a33 ..;.....;] B(1,:,:)=[b1 b2 b3..;b11 b22 b33 ..;.....;] h...

9 years ago | 1 answer | 0

Question

for loop problem with matrix

Hi all! I have matrix 'Input' with the size of 1024*10 i wrote a matlab program just for one vector input(:,1). the prog...

9 years ago | 1 answer | 0

Question

IIR filter as amoving averege

hi! I want to use the *filter* function as a moving averege filter. the Type of the filter should be IIR Filter. Te window leng...

9 years ago | 2 answers | 0

Question

moving averege of a matrix

Hi! a have a matrix: % A=[2 5 6 8 7 ;2 2 3 5 6; 1 2 3 4 2] how could i calculate the moving averege (order 2) of the...

9 years ago | 3 answers | 0

Question

how to write this without loop

hi! i wrote this in matlab: % r is a mtrix of the size(25*30000) for l=1:30000 for k=2:25 d(k,l)=r(k,l)-r(k-...

9 years ago | 2 answers | 0

Question

find a vector in a big vector

hi! how could i write this: % index=[find(a=2);find(a=4);find(a=6);find(a=8)....find(a=20)] in a compact manner? tha...

9 years ago | 3 answers | 0