Community Profile

photo

rifat


Last seen: 3 mois il y a Actif depuis 2013

Followers: 0   Following: 0

Contact

Statistiques

All
  • Knowledgeable Level 2
  • First Answer
  • Likeable
  • Famous
  • Project Euler I
  • Matrix Patterns II Master
  • Quiz Master
  • Sequences And Series II Master
  • Indexing I Master
  • Matrix Patterns I Master
  • Strings II Master
  • Strings I Master

Afficher les badges

Feeds

Afficher par

A répondu
How can I select a random element in a row of matrix?
Assuming the data is in 'row' col=1+floor(rand()*length(row)) % column number of the randomly selected element ele...

presque 10 ans il y a | 0

A répondu
greek symbols in matlab figures
plot([1 2 3],[1 2 3]); xlabel('\mu') ylabel('\nu') title('\sigma')

presque 10 ans il y a | 2

A répondu
FINDING FREQUENCY AND AMPLITUDE OF A SINUSOID FROM DATA POINTS.
len=length(signal); fs=50 % assuming you know the sampling frequency of your signal n=0:len-1; N=n*fs/(len-1); % conv...

presque 10 ans il y a | 1

A répondu
Help me how to calculate sum of series ?
You can not add infinite number of terms. If the sum is a converging sum, then you can add a large number of terms (e.g. n=5000)...

presque 10 ans il y a | 3

A répondu
delete same number every two number while keeping the original order
a(end+1)=a(end)+1; x=diff(a); p=find(x~=0); a=a(p)

presque 10 ans il y a | 0

A répondu
How to plot multiple iterations on the same axes?
first, write figure; hold on; then use a loop. witing each iteration plot your curve. plot(s_x_index,f_x)

presque 10 ans il y a | 0

A répondu
How do i add all the values which i get using eval function?
prompt = {'Enter the forces(kN): '}; title = 'Environmental forces'; answer = inputdlg(prompt,title); f = str2num(ans...

presque 10 ans il y a | 0

A répondu
How to give axis labels in plotyy comand while it is used in subplot(2.1.1)...........
x = 1:5; y1 = 1:5; y2 = 5:-1:1; figure subplot(2,1,1) [ax h1 h2]=plotyy(x,y1,x,y2); ...

presque 10 ans il y a | 0

A répondu
Problem with subplotting the results
you are using i as an index, then displaying it as an image using imshow.. what it 'i'? If it is an image, then use a different ...

presque 10 ans il y a | 0

A répondu
Why does it gives matrix dimension must agree?
You are not dividing element by element. Use the following lines instead: R=3e-7:1e-7:10e-7; V=0.5; Vth=0.011*V+(1.3e...

presque 10 ans il y a | 1

A répondu
how do i use the values read by the eval function in other formulas?
prompt = {'Enter the forces(kN): '}; title = 'Environmental forces'; answer = inputdlg(prompt,title); f = str2num(ans...

presque 10 ans il y a | 0

| A accepté

A répondu
Fast way to read text file of formatted data
I did a similar thing before. Hope this helps. result will be on the variable mat. fclose('all'); fid=fopen('fileNam...

presque 10 ans il y a | 0

A répondu
how to store value from loop
Your index isnt integer.. Use the following modification. And your program isnt self sufficient for me to execute. idx = ...

presque 10 ans il y a | 0

| A accepté

A répondu
How do I perform numerical integration containing multiple variables?
Since it is not a double integral, you want to integrate f(x,y) at a particular value of y=y1. Evaluate the function at y=y1. Th...

presque 10 ans il y a | 0

A répondu
String value and sequently representation
M=['XASSANORXOOUOU']; for i=1:length(M)/2 string=['L' num2str(i) '=M(2*(i-1)+1:2*i)'] eval(string) end...

presque 10 ans il y a | 0

A répondu
String value and relate with number.
A=21;B=12;C=8;D=7; W=['DABCD']; Z=W(1:3); string=[Z(1) '*' Z(2) '*' Z(3)]; eval(string)

presque 10 ans il y a | 0

| A accepté

A répondu
How to read data from xml files? (Loop all Parent and child nodes and get entire data to Excel)
Use xmlread() function. see the documentation. http://www.mathworks.com/help/matlab/ref/xmlread.html

presque 10 ans il y a | 0

A répondu
How can I perform QPSK modulation of an .mp3 / .wav file ?
sounds like an assignment problem. anyway... 1. read file using wavread() 2. use modulate() to apply QPSK modulation 3. use ...

presque 10 ans il y a | 0

| A accepté

A répondu
Received signal not on sampling time
I think the following script should do the work: signal_vector= [1 1 1 1 1]; % Define your signal here Ts=1/50; % Define...

presque 10 ans il y a | 0

A répondu
How can I find a connected path on a matrix by Random Search?
Hope the following function helps. function[]= randSelection(mat) [r c]=size(mat); list=1:c; for ...

presque 10 ans il y a | 0

| A accepté

A répondu
How to determine significant wave height from time series data in Matlab>
I dont know what it means by "significant wave height". But if you are trying to detect the peaks in a time series then try the ...

presque 10 ans il y a | 0

A répondu
how to make the output from a for loop displayed in an horizontal pattern
Use fprintf() instead of disp() within for loop. For example, fprintf('%d ',z);

presque 10 ans il y a | 1

| A accepté

A répondu
need to convert excel (time domain data ) to frequency domain data
Assuming the Excel file contains time data in column 1 and acceleration data in column 2 % read data data=xlsread('fileN...

presque 10 ans il y a | 0

| A accepté

A répondu
How to separate noise from signal?
You can pass your signal through a bandpass filter centered around the frequency of your original (without noise) output and adj...

plus de 10 ans il y a | 0

A répondu
Changing variable in a looped code
for i=1:3 string=['plot(x' num2str(i) ',y);']; eval(string); end I think this will do

plus de 10 ans il y a | 0

A répondu
How we can convert negative float value into binary in matlab? Is there any direct command for this?
You can consider two things. 1. consider changing the quantization of the number and convert the numbers into int16 format wh...

plus de 10 ans il y a | 0

A répondu
How to set my own row and column labels in 'imagesc' fcn
Are you talking about labels or XTickLabels? If it about labels then you can simply change it by using xlabel command and con...

plus de 10 ans il y a | 0

A répondu
Composition of Functions and Sequence
1.2 - Try to use finverse 1.3 - Use loops to solve N=3; % number of terms v=sqrt(2); for i=1:N-1 v=sqrt(2+v...

plus de 10 ans il y a | 0

| A accepté