photo

Epsilon


Last seen: Today Active since 2024

Followers: 0   Following: 0

Programming Languages:
C++, MATLAB
Spoken Languages:
English, Hindi, Bengali
Pronouns:
He/him

Statistics

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

View badges

Feeds

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Load more