Community Profile

photo

Agnish Dutta


Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

All
  • 3 Month Streak
  • Commenter
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Respondida
I have a signal with centre at 0.5Khz, how can i shift the signal such that the maximum component occurs at the center of the frequency axis?
I have assumed that the signal has only 1 peak. In case of multiple peaks, the "find(P == max(P), 1)" command will return an arr...

alrededor de 5 años hace | 0

| aceptada

Respondida
Solving for unknown angles
This seems like an ODE. Here's the documentation detailing how to solve ODE's using MATLAB: https://www.mathworks.com/help/symb...

alrededor de 5 años hace | 0

Respondida
Plotting Multiple Graphs in a 3D form
The dimensions of the 5 different plots must be the same for the following to work. So make sure you pre-process your data accor...

alrededor de 5 años hace | 0

Respondida
2D random walk double for loop
I used the following method to generate the x and y coordinates od 2000 points moving randomly in 2D cartesian space. I was then...

alrededor de 5 años hace | 0

| aceptada

Respondida
Plotting the solution to the Laplace equation
I suggest using the symbolic mathematics toolbox which provides functions for solving, plotting, and manipulating symbolic math ...

alrededor de 5 años hace | 1

Respondida
How to create a line profile from a figure within a script
Consider going through the following MATLAB answers page: https://www.mathworks.com/matlabcentral/answers/389889-how-to-plot-in...

alrededor de 5 años hace | 0

Respondida
3D (Surface) Reconstruction of Stereo Image
Use these instructions as a starting point for what you are trying to accomplish: The following shows the workflow for creati...

alrededor de 5 años hace | 0

| aceptada

Respondida
How can i make GUI pushback button call my App created in app designer?
I recommend using MATLAB appdesigner to create GUIs with interactivity. The first thing to do would be to include the target...

alrededor de 5 años hace | 0

Respondida
How can transfer python result to Matlab matrix
You need to save this array in a format that MATLAB understands. You could use scipy.io to do this. As an example: import nu...

alrededor de 5 años hace | 0

Respondida
How to create this by a for loop?
Assuming that the f_t+d values are in a 1-D array in contiguous locations, you could use the following code to get the required ...

alrededor de 5 años hace | 0

Respondida
How to do a error bar from two curves along y axis in the same plot?
From what I understand, you are trying to plot the curve (x1, y1) along with the deviations of the curve (x2, y2) from (x1, y1)....

alrededor de 5 años hace | 0

Respondida
Trying to break time series data up by season
The "getsampleusingtime(tsin,starttime,endtime)" function could be used to create subsets of time series data. You can specify t...

alrededor de 5 años hace | 0

Respondida
How can I run this loop in parallel ?
Since you have mentioned that you are new to parallel programming in MATLAB, I suggest going through the following resources: ...

alrededor de 5 años hace | 1

Respondida
Plotting two arrays of different lengths
From what I understand, you want to increase the size of a vector to match a specified value, without losing any information. I ...

alrededor de 5 años hace | 0

Respondida
Example code for deep Q-learning
Consider going through the following MATLAB answers page. It has links to tutorials and documents containing example codes, that...

alrededor de 5 años hace | 0

Respondida
Q-learning with neural network
MATLAB's reinforcement learning toolbox has tools for implementing a variety of RL algorithms such as Deep Q-Network (DQN), Adva...

alrededor de 5 años hace | 0

Respondida
unit step function to mimic signal
From what I understand, you want the falling edge of your unit step signal to coincide with that of the square wave. If that ...

alrededor de 5 años hace | 0

Respondida
Draw the vector field and eigenvectors in the phase portrait for Van der Pol ODE
If you can calculate the vector field values at every point, then the resulting data can be plotted using the “quiver” function,...

alrededor de 5 años hace | 0

| aceptada

Respondida
Why the thd function do not give same answer
I believe this is because the "thd(x)" function calculates the Total harmonic distance in a way different from the one you have ...

alrededor de 5 años hace | 0

Respondida
Removing a syms variable from a For loop solution
Based on on the provided equation and code, here's something I came up with to calculate the neede values: syms x N = 100 ...

alrededor de 5 años hace | 0

Respondida
Designing a band pass filter for filtering a sinusoidal function with a known frequency from a signal with an unknown sampling rate
The signal processing toolbox will give you the necessary functionality to carry out filtering of signals. The following will...

alrededor de 5 años hace | 0

Respondida
Is it possible to have AppDesigner started automatically when I start Matlab ?
Create a startup.m file in the userpath folder, which is on the MATLAB® search path. Add commands you want executed at startup. ...

alrededor de 5 años hace | 0

| aceptada

Respondida
Errorbars on two seperate curves starting from a particular point
I think the command you are looking for is: errorbar(x,y,neg,pos): draws a vertical error bar at each data point, where neg det...

alrededor de 5 años hace | 0

Respondida
Arduino Nano, 40 kHz PWM output wave
Note: Nano 2.X is not supported. Other Nano 3.X not tested but expected to work. I've found a few useful links to get you star...

alrededor de 5 años hace | 1

Respondida
How do I plot a line showing the distance between two points?
You can use the 'line' function to plot lines on existing axes. Refer to the following document for the same: https://www.mathw...

alrededor de 5 años hace | 0

Respondida
Indexing Values from a structure array
You can use logical indexing to obatin the non zero values from the structure arrays as per the code below: Positive_Torque_V...

alrededor de 5 años hace | 0

Respondida
Use refreshdata with voronoi plots
I don't think voronoi was designed to support the refreshdata workflow. voronoi is just a function which plots and returns ha...

alrededor de 5 años hace | 0

Respondida
Please help me make this function periodic
You can repeat copies of an array along any dimension using the 'repmat()' function. This will allow you to generate a periodic ...

alrededor de 5 años hace | 0

Respondida
How to merge two interleaving time series?
I'm assuming, you don't have any gaps in your time series data. One way of doing this would be to put you time series data in...

alrededor de 5 años hace | 1

Respondida
Problem when plotting a matrix
From what I understand, you want to plot the values of 'abs(log(Z1shift))' matrix in a particular range. imagesc(x,y,C) specifi...

alrededor de 5 años hace | 0

Cargar más