parham kianian

Last seen: 2 years ago Active since 2017

Followers: 0   Following: 0

Feeds

View by

Write data from MATLAB to a text file
I found the solution. Have a look at Export data from MATLAB to text files. A video tutorial on youtube which explains in full d...

3 years ago | 0

| accepted

Question

Write data from MATLAB to a text file
I need to perform some numerical analysis in MATLAB and it will result in large volume of output. To store them I need to write ...

3 years ago | 1 answer | 0

1

Question

Solving third order nonlinear boundary value problem
I have a boundary value problem in this form: where alpha is a nonzero constant and boudary conditions are: f(-1) = 0 f(0) ...

3 years ago | 0 answers | 0

0

Question

rearrangement rows of matrices
Suppose: A = repmat((1:15)',1,5); Now I want to rearrange A such that it becomes matrix of size 5 by 15 in following form: B ...

4 years ago | 4 answers | 0

4

How to load data from and .txt file?
I think it is much easier to use textread function. Following link describe in full detail how to use this function to import da...

4 years ago | 0

How to import data from .txt file?
I think it is much easier to use textread function. Following link describe in full detail how to use this function to import da...

4 years ago | 0

Question

difficulty to use "sin" function
Consider following: T = 0.02; %period (sec) w = 2 * pi / T; %w = 314.1593, angqular freq...

4 years ago | 2 answers | 0

2

How to speedup very long expressions calculations?
To enhance the code you need to create a matrix and assign each variable to an array of matrix. For example variables gm0 to gm6...

4 years ago | 0

How to pick random entries from the columns of a matrix such that their sum is equal to a already specified number?
I suppose you want to perform this on each column of matrix A seperately. Try this: A=[ 0.8147 0.9134; 0.9058 0.6324; 0....

4 years ago | 0

Question

MATLAB edition for Linux
Is there any matlab edition which can be installed on Linux? If yes, Is there any difference between performance of same matlab...

4 years ago | 1 answer | 0

1

Question

How can I solve the following integral equation
How can I solve the following integral equation in MATLAB numerically: where:

4 years ago | 1 answer | 0

1

Question

numerical integration in matlab
Suppose A is a column vector whose arrays are acceleration of a moving object and each array has been sampled every 0.01 sec. I...

4 years ago | 1 answer | 0

1

Question

How to write cell array to excel file
I have a cell array whose elements have different sizes. How can I write it to an excel file? For example: a = rand(10,1); b ...

4 years ago | 3 answers | 0

3

Question

how to use function "find" over matrices
Suppose x = rand(1e5,1e5); I want to find the lowest number in each column of x without using for loop. Is it possible?

4 years ago | 2 answers | 0

2

Question

dsp.ZeroCrossingDetector: a confusing error
I am trying to employ dsp.ZeroCrossingDetector to count number of zero crossings of a signal. Consider the following: x = 0 : p...

4 years ago | 1 answer | 0

1

Question

improvement of code performance
I have to use "emd" function for 500 signals and 100 times for each of them. As a result I developed a code like below: for ii ...

4 years ago | 0 answers | 0

0

Question

A 2D plot with different colors for each point
Suppose time is a column vector of length Lt, freq and amp are matrces of size Lt * n. I want to plot a each column of freq agai...

4 years ago | 1 answer | 0

1

Question

How to add a 2D line to a surf plot
The following figure shows the x-y view of a surf plot. How can I add a 2D line to this type of plots. For example I have added ...

4 years ago | 1 answer | 0

1

Question

Problem in using asin function
Consider the followingj t = 0 : 0.02 : 10; nu = (t-5).^2 + 2; omega = 2*pi*nu;%as a polynomial of degree 2 f = sin(omega); ...

4 years ago | 1 answer | 0

1

Question

continuous wavelet transform for a specified frequency range
Consider column vector h as a one dimensional signal with length Lh. I want to evaluate the continuous wavelet transform of sig...

4 years ago | 0 answers | 0

0

Question

Built in function for S-transform
Does MATLAB has any built in function for S-transform?

4 years ago | 0 answers | 0

0

Question

spectrogram of matrix in MATLAB
I hvae a matrix F whose arrays are positive numbers with the size of 8000 * 1000. I want to plot a spectrogram for F such that...

4 years ago | 0 answers | 0

0

Question

Negative instantanous frequency values in outputs of hht function
I am using hht function of MATLAB to evaluate instantanous frequency of a signal sig (a column vector of real numbers) using the...

4 years ago | 0 answers | 0

0

Question

Non-stationary signal decomposition
suppose f(t) is a non-stationary signal which can be expressed as follow: f(t) = A1(t)*sin(w1*t) + A2*sin(w2*t) + ... + An(t)s...

4 years ago | 0 answers | 0

0

Question

convolution of two function
I have two functions as below: t = 0 : pi/180 : pi; f = exp(-t/3) .* (sin(2*t) + 2*sin(4*t) + 0.4*sin(2*t).*sin(40*t)); h = 1...

4 years ago | 2 answers | 0

2

Question

selection of n disticnt vector
I have a vector A like A = 1 : 10 I want to make two distinc vector of length 3 such thta no array be in common between these ...

4 years ago | 1 answer | 0

1

Question

How to sum columns of a matrix in MATLAB in specified number of columns?
I have a matrix A of size 2500*500. I want to sum each 10 columns and get the result as a matrix B of size 2500*50. that is, the...

4 years ago | 2 answers | 0

2

Question

images in MATLAB help
Dear Frieds, I am using MATLAB R2018a on windows 10 operting system. But,whenever I search somthing in MATLAB help, the images ...

5 years ago | 0 answers | 0

0

Question

Over-determined system
Dear Friends, I want to solve an over-determined system in the form of max(abs(A*x)) = B; size(A) = n by m size(x) = m by 1 ...

5 years ago | 0 answers | 0