Epsilon
Followers: 0 Following: 0
C++, MATLAB
Spoken Languages:
English, Hindi, Bengali
Pronouns:
He/him
Feeds
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 ...
8 days 前 | 1
| 已接受
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 ...
9 days 前 | 0
| 已接受
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...
9 days 前 | 0
| 已接受
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...
9 days 前 | 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 -...
10 days 前 | 0
| 已接受
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...
2 months 前 | 0
| 已接受
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;...
2 months 前 | 1
| 已接受
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...
2 months 前 | 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...
2 months 前 | 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...
2 months 前 | 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 ...
2 months 前 | 0
| 已接受
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...
2 months 前 | 0
| 已接受
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...
2 months 前 | 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...
2 months 前 | 0
| 已接受
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...
2 months 前 | 0
| 已接受
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...
2 months 前 | 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...
2 months 前 | 0
| 已接受
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...
2 months 前 | 0
| 已接受
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...
2 months 前 | 0
已解决
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
2 months 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
2 months 前
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. ...
2 months 前 | 0
| 已接受
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...
2 months 前 | 0
| 已接受
getToneFromPSD函数中这一段代码的含义是什么?
Hi Dayan, The internal function ‘getToneFromPSD(Pxx,F,rbw,toneFreq)’ is used to get the power and frequency of the identified ...
2 months 前 | 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 前 | 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 ...
3 months 前 | 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...
3 months 前 | 0
How do I add signal logging for each connection in simscape
Hi Neeraj, You can use signal logging to capture signal data from a simulation without adding blocks to your model. When signal...
3 months 前 | 0
Confusion understanding series/parallel relationship of mechanical components of a DC motor in Simulink Simscape
Hi ABTJ, your interpretation for the connections is correct. It seems the main reason for this confusion is the Inertia block. ...
3 months 前 | 0
| 已接受
In App Designer, a space after each word in TextArea creates a new line after running the gui
Hi Thuan, I see that on entering text in the ‘value’ or ‘title’ field of the ‘Text Area’ component in ‘App Designer’, there is...
4 months 前 | 0