Epsilon
Followers: 0 Following: 0
C++, MATLAB
Spoken Languages:
English, Hindi, Bengali
Pronouns:
He/him
Statistics
RANK
813
of 295,849
REPUTATION
90
CONTRIBUTIONS
0 Questions
34 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
9
RANK
of 20,292
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Vectorized code slower than loops
Hi Alessandro, Method1 is handling a single column vector at a time and is faster than method2 which computes the entireRHS at ...
4 days ago | 1
| accepted
How can I adjust the colorbar scale in my contour plot?
Hi Eleanore, The color scaling should be automatically done based on the range of data in velocity_grid_gw and velocity_grid_w ...
5 days ago | 1
| accepted
PID tuning to meet conditions for settling time and overshoot while a stable system with minimum peak time and zero velocity error.
Hi Ashaya, The answers to your queries are: Yes, for a linear close looped continuous-time system the negative real parts of a...
7 days ago | 0
How to modify the mesh generated from meshgrid to create a rectangular void in the middle of the mesh
Hi Prasad, To create a void set the values at the indices to 'NaN'. [x, y] = meshgrid(0:1:15, 0:0.5:13); voidIndices = (x >= ...
12 days ago | 1
Converting 1x1 struct with multiple fields to numeric matrix
Hi Mark, An approach to convert the struct to the desired matrix can be to extract the elements and then use pre allocation to ...
12 days ago | 0
| accepted
So I wanna to make a 3x3 heatmap with all cells with a value of 1. I want the center grid to be a totally different color than the other grids without changing it's value
Hi Haoyan, It might not be possible to create a 'heatmap' with a different central cell color and same values displayed at the ...
25 days ago | 1
| accepted
I am not getting the exact reactance part value j1.8 (mentioned in BOOK) using my code , I am getting zero for my reactance part code, Can anybody help me out?
Hi, The 'Zin_res' is not calculated properly as the validation "if(fr(k)==fmn);" fails due to the mismatch in exact values. To ...
26 days ago | 0
| accepted
null or NaN entries in image arrays?
Hi Tim, It is possible to set the elements to NAN in order to be ignored. Attaching an example: % Sample image array img = ra...
26 days ago | 0
| accepted
How can I execute a Simulink block only when a specific condition is met?
Hi 준호, To execute the set of blocks conditionally place them inside a subsystem. To do so select all the blocks then right clic...
26 days ago | 0
Do I have a convergence issue?
Hi Timothy, The code is not converging and completing the max iteration steps(3000). This is happening as the "residual (lhs -...
28 days ago | 0
| accepted
How to save the graph obtained with Simulink's scope as numerical data
Hi 光希, To export the voltage and time, use the 'outport' block to save the data in the MATLAB base workspace and then convert t...
3 months ago | 0
| accepted
uicontrol of pushbutton cannot set text color
Hi raym, Try removing the extra space after ForegroundColor. Above mentioned code rectified: % Create a figure fig = figure;...
3 months ago | 1
| accepted
How plot charts/sim animation like battery simulation chart function of simscape battery?
Hi Soham, Animating a plot generally involves updating the plot inside a loop by updating the values or properties. Example c...
3 months ago | 0
I need help adjusting the axis on a theta-S contour plot
Hi Kelly, The attached data has an outlier value of Potential_Temperature_C as 65535 at the first index which is much bigger th...
3 months ago | 0
how to heat map encode a smoothed line of sparse time-series data
Hi hxen, For plotting a smooth line between the sparse points, 1-D interpolation can be used with the spline method. Eample co...
3 months ago | 1
signal builder not shown in matlab
The ‘Signal Builder’ block has been removed R2023a onwards, instead the ‘Signal Editor’ block can be used. Please refer to the ...
3 months ago | 0
| accepted
How can I carve out a region of a 3D matrix given a specific x and y range?
Hi Wbenn7, To access a region of a 3D matrix based on two dimensions only, pass a colon operator ‘:’ as the third index to acce...
3 months ago | 0
| accepted
Why my Gradient calculation shows anomaly?
Hi Sena, The ‘smooth’ function can be used before calculating central differences to reduce the noise and improve the stability...
3 months ago | 1
Graph not showing as it should
Hi Jack, It seems the Excitonic Contribution line is missing but it is being plotted. It is just not visible due to being plott...
3 months ago | 0
| accepted
why does the module of delay have different data types of input and output?
Hi ED, I tried reproducing this and it seems the unit delay block does indeed produce a 'double' data type signal when used wi...
3 months ago | 0
| accepted
I want to plot the attenuation coefficient of circular waveguide using zeros of Bessel function, can someone kindly suggest how to do it for multimodes not for single mode??
Hi Deepak, To plot the attenuation coefficient of circular waveguides using the zeros of Bessel function for multiple modes, s...
3 months ago | 1
Data is not storage when running loop
Hi A-Rod, On running the original code with both the data files, the number of data points generated is dependent on the highes...
3 months ago | 0
| accepted
Can a system() Command be used Inside a Function Called from Inside a parfor Loop?
Hi Paul, A 'system' command inside a function called from within ‘parfor’ seems to be working fine. Code: function myFunct...
3 months ago | 0
| accepted
how do I load zip file in matlab code?
Hi Kuldeep, The above error is being produced as the function loadProduct used is not a defined MATLAB function. To extract a z...
3 months ago | 0
define an objective function of field oriented control (FOC)
Hi Milad, PI controller gains are tuned based on the time domain or the frequency domain specifications mentioned by the user. ...
3 months ago | 0
| accepted
Writing legends for MATLAB figures with subscripts
Hi Milad, You can create legends with subscripts by using the LaTeX interpreter. Use the underscore character _ to denote subsc...
3 months ago | 0
| accepted
getToneFromPSD函数中这一段代码的含义是什么?
Hi Dayan, The internal function ‘getToneFromPSD(Pxx,F,rbw,toneFreq)’ is used to get the power and frequency of the identified ...
3 months ago | 0
Comprehensive Battery Management system for Electronic Vehicles
Hi Chennam, I see that you want to create a Battery Management System using Simulink and Simscape. To start you can go with t...
3 months ago | 0
Simscape Onramp Section 8.1 Task 9
Hi, I faced a similar error when trying to do the Simscape Onramp. The error occurs in this particular step even if the earlier ...
4 months ago | 0
time domain specifications calculations from graph
Hi Pranav, The step() function can be used to plot the second order system response. Here is a documentation link to Step respo...
4 months ago | 0