
Romio
Statistics
30 Questions
0 Answers
RANK
155.081
of 263.048
REPUTATION
0
CONTRIBUTIONS
30 Questions
0 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
0
RANK
of 18.002
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 113.966
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Question
ode15s solver produces wrong solution
I am trying to solve the heat equation such that using the method of line. I discritzed in space and used ode15s to integ...
21 días ago | 1 answer | 0
1
answerQuestion
How to automate the matrix-vector multiplication using the index of a vector?
I have the following m = 50; a = 5 b = 2 c = 2 J = @(t,y) [diag(a*ones(1,m)) + diag(b*ones(1,m-1),1) + diag(c*ones(1,m-1),-...
22 días ago | 1 answer | 0
1
answerQuestion
What can be done if fsolve cannot find solution?
Hello I have a large piece of code where I have a loop. In each iteration of the loop I use fsolve to find the solution of rela...
alrededor de 1 mes ago | 1 answer | 0
1
answerQuestion
Implementing implicit method for system of ODEs
I am trying to implement implicit Runge Kutta for solving a system of ODEs. Currently I was able to do it for scalar ODE (y'=-y)...
alrededor de 2 meses ago | 1 answer | 0
1
answerQuestion
How to create a loop on function handle
I want to write the following in an efficent way using a loop over j = 1:n. A is n by n matrix, t(i) is a scalar (where i is ano...
alrededor de 2 meses ago | 1 answer | 0
1
answerQuestion
How to create a matrix with special block diagonal structure
I would like to create a matrix that has the following structure ( The blue dots are ones and the rest is zeros) the number ...
3 meses ago | 4 answers | 0
4
answersQuestion
Change initial step length in fmincon
I am using fmincon to solve an optmization problem with the 'sqp' algorithm. I have set the variable 'StepTolerance' in options ...
3 meses ago | 1 answer | 0
1
answerQuestion
Structured trianglar finite element mesh
The available trianglar mesh in the PDE tool box here gives an unstructured trianglar mesh like this one How can get a stucture...
5 meses ago | 0 answers | 0
0
answersQuestion
optimizing two variables in fmincon with different sizes
I have a nonlinear optimization problem where I want to optimize an n x n matrix A and an n x 1 vector b. How can I set up the p...
5 meses ago | 1 answer | 0
1
answerQuestion
how to import a saved figure into a subplot
Hi If I am saving multiple figures as say f1.fig, f2.fig and so on with specific settings that are already saved. How can I imp...
alrededor de 1 año ago | 1 answer | 0
1
answerQuestion
How to connect multiple points in order using the shortest line
I have the following discrete points. The x and y coordinates are the following X = [-0.5305 -2.0960 -1.6192 -2.276...
más de 1 año ago | 2 answers | 0
2
answersQuestion
Weird java text in command window
Something weird happens to Matlab, I get this red text in the command window and it keeps changing whenver I move the mouse. Any...
más de 1 año ago | 1 answer | 0
1
answerQuestion
Improving fit of custom function
Hello, I have the following curve. I want to fit it into a closed-form equation. I tried to use GRABIT to get a vector ...
alrededor de 2 años ago | 1 answer | 0
1
answerQuestion
adding the vectors at each cell in cell array
Hi I have a cell array where each cell contains a vector. I want to add up the vectors at each cell of each row. The cell arra...
alrededor de 2 años ago | 1 answer | 0
1
answerQuestion
How to extract one plot from multiple plots?
If I have subplot of 8 plots, How can I plot, say, the second plot on a seperate figure?
alrededor de 2 años ago | 1 answer | 0
1
answerQuestion
Error with installing MATLAB Support for MinGW-w64 C/C++ Compiler
Hi I am trying to run .c code on MATLAB. I did try using mex, but it gives me this error: Error using mex No supported compil...
más de 2 años ago | 1 answer | 0
1
answerQuestion
How estimate the frequency of one feature of an image
Hi Is there any way to estimate the spatial frequncy of one feature in an image? Meaning, if I have the follwing image, can I o...
más de 2 años ago | 0 answers | 0
0
answersQuestion
Why fft results of discrete Fourier series coefficients are different from the actual definition
I tried to find the fourier coefficients of this discrete time singal x[n] = [1 1 0 0 0] using fft to get the coeffiecits. Howe...
más de 2 años ago | 1 answer | 0
1
answerQuestion
equally spaced array of complex numbers
How to create an equally spaced vector from -2i to 2i with increment of 0.01?
más de 2 años ago | 1 answer | 0
1
answerQuestion
data fitting that output eigenvalues and eigenvectors of the data
Hello, I have the follwing data points constituting three curves. Is there any MATLAB function that perform regressio...
más de 2 años ago | 1 answer | 0
1
answerQuestion
How to solve difference equation with variable coefficients
I know if we have a difference equation in the form of a_1(y[n]) - a_2 (y[n-1]) = b_1(x[n]), where a's and b's are constants w...
más de 2 años ago | 0 answers | 0
0
answersQuestion
Error using plot: Value not a numeric scalar
I am using this running average function to smooth out dome noisey data. function y = RunningAvg(x,w) wts = ones(1, w) / w...
más de 2 años ago | 1 answer | 0
1
answerQuestion
plot borders disappear when changing numbers to words in the axes
Hi I plotted some point data and changed the axis to words. But the right and up boarder of the plot disappeaed. Is there any w...
más de 2 años ago | 0 answers | 0
0
answersQuestion
Edge distortion when resampling a signal
I have the follwing cosine signal that is sampled at rate fs = 32 Hz. f = 30; fs = 32; dt = 1/fs; t = -0.5:dt:0.5; c = cos(...
más de 2 años ago | 1 answer | 0
1
answerQuestion
how to plot multiple decaying exponentials in one plot.
I would like to plot multiple decaying exponentials with different parameters (time, decay, peak). I was able to create this cod...
más de 3 años ago | 1 answer | 0
1
answerQuestion
how to plot decaying exponential
Hello, I'd like to plot a decaying exponential function similar to this plot, while being able to vary the spike time and rat...
más de 3 años ago | 1 answer | 0
1
answerQuestion
iterating over an ode solver
Hi there, I am writing a program to solve an ode system multiple times with different parameter values. I added the two param...
más de 3 años ago | 0 answers | 0
0
answersQuestion
how to create function handle for conditional sine wave
I want to create function handle that satisfies the following discrete sinusoid n = -10:1:10; x = sin(3*pi*n); x(n<0)...
casi 4 años ago | 1 answer | 0
1
answerQuestion
How to modify the input function to a system?
Hi if I have the function x[n] = cos(2*pi*n) in 0=<n<=10 and x[n] = 0 else where n = -20:1:20; xn = cos(2*pi*n)...
casi 4 años ago | 1 answer | 0
1
answerQuestion
how to define a sinusoid function over a specific range
Hi all, I wonder how to define sin function over a specific range of n. For example, n=1:20 and x= sin(pi*n) over 0<n<5 an...
casi 4 años ago | 1 answer | 0