photo

Agnish Dutta


Actif depuis 2019

Followers: 0   Following: 0

Statistiques

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

Afficher les badges

Feeds

Afficher par

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Plotting the solution to the Laplace equation
I suggest using the symbolic mathematics toolbox which provides functions for solving, plotting, and manipulating symbolic math ...

plus de 5 ans il y a | 1

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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)....

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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: ...

plus de 5 ans il y a | 1

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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,...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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. ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 1

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 1

Réponse apportée
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...

plus de 5 ans il y a | 0

Charger plus