Question


axis in a plot in matlab
Hi together I have a plot. the x-axis is from 2:200. I want to show in the figure that x-axis is from 100:288. i know i cou...

11 years ago | 1 answer | 0

1

answer

Question


diffrence of vector element and addition element- wise
hi! i have a vector % A=[1 2 3 98 99 102] i calculate the difference betwen thelement with the function *diff* ...

11 years ago | 2 answers | 0

2

answers

Question


eleminating data from a long vector
Hi all! i have an index vector: % index=[id1;id2;id3.....idn] and i have a long vector: A i want to eleminate th...

11 years ago | 2 answers | 0

2

answers

Question


function in a loop in matlab
Hi! how could i use a funktion in for loop in matlab. as an exemple : % for i=1:4 [out1 out2]=function_name(input1,i...

11 years ago | 1 answer | 0

1

answer

Question


save data as mat file
Hi! how could i svae many data, which have the same size in one mat file: % for exemple: a=[1 2 3]; b=[5 4 6]; c=[2 5 ...

11 years ago | 1 answer | 0

1

answer

Question


open and read a txt file
Hi! % for i=20:80 fileID = fopen(['Data_' num2str(i) '.txt']); data{i,1} = textscan(fileID, '%s %s %s %d %d %d %d %...

11 years ago | 1 answer | 0

1

answer

Answered
find and reshape function ion matlab
Hi i forgot something: index=ind % ind= [find(fr==8.1); find(fr==8.2); find(fr==8.3); find(fr==8.4);...... ; find(fr==10)]; ...

11 years ago | 0

Question


find and reshape function ion matlab
Hi together! i used this functions to find the index of some element und reshape it in a special manner. % ind= [find(f...

11 years ago | 2 answers | 0

2

answers

Question


load a matlab file
Hi! i have big data and i saved it in a mat file named All_data. % save('All_data','data1','data2','data3') ...

11 years ago | 1 answer | 0

1

answer

Question


writing a function in matlab
Hi! I wrote this file to evalute some .TXT file. I want to write it as a function. I dont know what to write as Input and...

11 years ago | 1 answer | 0

1

answer

Question


Moving average of a product
Hi all! with moving averege filter we can calculte the mean of: (a1+a2+a3+....+an)/n. is there any methods like the...

11 years ago | 1 answer | 0

1

answer

Question


manipultion of matrix element
hi! i have as an example this matrix (my matrix is big): % A=[a1 a2 a3 a4 a5 a6 a7; b1 b2 b3 b4 b5 b6 b7; c1 c2 c3 c4 c5...

11 years ago | 1 answer | 0

1

answer

Question


VNA 8722D with intrument toolbox
I heard about this toolbox for comunicating with instrument like network analyzer without any difficultis!! is it possible wi...

11 years ago | 0 answers | 0

0

answers

Question


control VNA hp 8722d with matlab
HI I am trying to comunicate with th VNA with matlab. I installed io_Agilent libraries. the connection between VNA and PC is ...

11 years ago | 0 answers | 0

0

answers

Question


problem with manipulation a vector randomly
hi! i usid bsx function to generate fro a vector a matrix by ading a random number. my problem: this function add to the whole...

11 years ago | 1 answer | 0

1

answer

Question


repeat a matrix in defined manner
hi! How could i generate from this matrix: A=[1 2 3 4 5 6 4 5 6] this matrix: B= [1 1 1 1 2 2 2 2 3 ...

11 years ago | 2 answers | 0

2

answers

Question


add random numbers and generate a matrix
hi! i have an array A of size (75*1). i want to generate from this array a big Matrix of size(75*75* 30) i did it in this mann...

11 years ago | 0 answers | 0

0

answers

Question


change column in matrix
Hi! is it possible in matlab to change coluns: A=[a1 a2 a3 a4.......a2250],a1...a2250 are arrays oth size(30*1). i wa...

11 years ago | 2 answers | 0

2

answers

Question


save data in a special folder
i used this *dlmwrite('phase.txt',phase)* to save the phase in a txt file. how could i tell matlab to save this data in a sp...

11 years ago | 1 answer | 0

1

answer

Question


problem with saving data as .mat file
Hi ! i have an output of a for loop. i want to save this output as *.mat* file. how could i do this ? I tried with sav...

11 years ago | 1 answer | 0

1

answer

Question


generation of permuted matrix
Hi! I have a vector A=[2 3 6 5]. how could i generate a matrix from this arraĆ½ in this manner? % B=[A permuted(A) p...

11 years ago | 1 answer | 0

1

answer

Question


Problem in generation of random number
hi! i used this matlab function to generate random numbers: % h=randi([4 18],100,5); how could generate random n...

11 years ago | 3 answers | 0

3

answers

Answered
Problem in generation of random number
hi! i used this matlab function to generate random numbers: % h=randi([4 18],100,5); how could generate random number...

11 years ago | 0

Answered
Sawtooth signal generation in matlab
Thank you. But how could i get this saw tooth combined wit another sawtooth with negative slope? I mean : from 0 to Tp ->po...

11 years ago | 0

Question


Sawtooth signal generation in matlab
Hi! how could i generate a sawtooth signal. the amplitude schould variates between -180 and +180 and with a combination of nega...

11 years ago | 1 answer | 0

1

answer

Question


Matrix and vector multiplication elementwise
I have a big matrix and vector. itry to present my problem with this exemple: % a=[1 2 3;2 3 4;4 5 6] h=[2 2 2] how ...

11 years ago | 5 answers | 0

5

answers

Question


no use of for loop
Hi! n=[0:0.01:0.5]; f=[2:0.01:3]; for k=1:length(n) for l=1:length(f) beta=n(k).*Dc/Dw omega=...

11 years ago | 1 answer | 0

1

answer

Question


surfs and meshplot problem
Hi I want to plot a function of two variables with surfc, I get the error Z must be a matrix not a scalor or vector. My fun...

11 years ago | 2 answers | 0

2

answers

Question


reshape a matrix in a special manner
Hi! how could i make this matrix reschaping: % A=[A(:,1) A(:,2) A(:,3).....A(:,130)] TO C1= mean([A(:,1)....A(:,...

11 years ago | 4 answers | 0

4

answers

Question


problem output of two loops
Hi! I have twoo loops and i want to get theresult: Example % for i=1:2 X(i)% X data to be loaded for k=1:6 ...

11 years ago | 1 answer | 0

1

answer

Load more