photo

Ayush Modi


Last seen: Today Active since 2023

Followers: 0   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

Answered
I am getting "Swing is not available error"
Hi Gourav, This is an bug with "importONNXNetwork" function. As a workaround, you can follow the below steps:        1.   Run ...

1 day ago | 0

Answered
Unable to obtain double precision from symbolic value
Hi Bamelari, You can convert the symbolic value into double precision value using double method. Here is a sample code to demon...

5 days ago | 0

Answered
Zoom breaks UIFigureWindowKeyPress in App Designer
Hi Zel, When the zoom mode is enabled(using zoom icon or by zoom function), the control stays with the function. The UIFigureW...

5 days ago | 0

| accepted

Answered
Storing output values from a for loop into an "array"
Hi Ammar, I am assuming you want to append the kp_root values you obtain in each iteration of for loop and store them in the va...

5 days ago | 0

| accepted

Answered
Possibility of dropdown from a toolbar button in app designer?
Hi Ian, I am assuming by upper toolbar, you mean the Push Tool button in the toolbar of the App Designer. Yes, you can have a d...

5 days ago | 0

Answered
Incorrect results of inverse tall array
Hi Chen, Your code looks good to me. The issue might be with the data. I tested the code with randomly generated matrix as wel...

1 month ago | 0

Answered
Alternative to interp2
Hi, "griddedInterpolant" function will run faster and is recommended by MathWorks as an alternative to calling "interp2" multip...

1 month ago | 1

Answered
How to show the output on the right side of the coding pane?
Hi Asuka, Outputs are generated on the right side of the code panel in 'Live Editor' which is what you are using in the second ...

1 month ago | 0

| accepted

Answered
Inverse huge matrix with tall array
Hi Chen, "If I use my verctor b, it shows an error with incompatible tall array argument in tall/qrLeftSolve." Operator '\' re...

1 month ago | 0

Answered
The plot for Frequency Domain Signal wont show up, where is the problem?
Hi, When running the provided code, with the attached file, variable t_f is being calculated to NaN values. % Output of disp(t...

1 month ago | 1

Answered
Not possible to one hot encode in a timetable column
Hi Rafael, I am assuming you are referring to onehotencode function in MATLAB. The error is because onehotencode function expe...

1 month ago | 0

Answered
how to do 2D Extrapolation
Hi A-Rod, The error is occuring because 'extrapVal' argument in interp2 function expects a real or complex scalar but in the pr...

1 month ago | 0

| accepted

Answered
Unrecognized function or variable 'calculate_power_loss'.
Hi Kaustubh, It appears from the code snippet shared that you're invoking a function named 'calculate_power_loss' in the below ...

1 month ago | 0

Answered
Multiplot Legend Item remains after line visible property put to "off"
Hi Jason, From the previous post, I understand you are using the 'DisplayName' property in the plot function and passing the pl...

1 month ago | 1

Answered
How to delay start or reset time in Signal Editor?
Hi Igor, You can achieve this using a Voltage Sensor block and a Switch block. Below are the high level steps to achieve this: ...

2 months ago | 0

Answered
Making use of figure numbers is discouraged – what are your workarounds?
Hi Andres, As a workaround, you can disable the figure number. Then, the custom name provided will only be visible. Here is the...

2 months ago | 2

| accepted

Answered
Expected FunctionSignatures to be a non-missing string scalar or character vector.
Hi Chandler, "productionServerArchive" function expects FunctionSignatures parameter to be character vector or string scalar. H...

2 months ago | 1

| accepted

Answered
Solving a linear programming problem uising linprog
Hi Sergio, The error you are getting is because of extra parameters in the function call. Here is how you can make the call to ...

2 months ago | 0

Answered
I'm trying to convert a .pkl 4D array into a datastore on MATLAB
Hi Hugh, The tabularText type is intended for reading tabular data from text files, which doesn't match the structure of .mat f...

2 months ago | 0

Answered
Is it possible to assign variables in the workspace to other variables using for loop?
Hi Bipin, Yes, it is possible. To dynamically access variables such as a_1_1, a_1_2, a_1_3, a_2_1, a_2_2, etc from the workspac...

2 months ago | 1

| accepted

Answered
How to stop the simulation instantly and copy the data to the workspace ?
Hi Nazli, You can use the "Stop Simulation" block in combination with "Relational Operator" block to stop the simulation when s...

2 months ago | 0

Answered
Find max within due date and find max within due date by class section
Hi, To find the latest date_submitted that is before the Lab_due_date for each class_section, you first need to format the data...

2 months ago | 0

| accepted

Answered
Calculating the area of the black objects in mm2
Hi Mathew, You can calculate the area of all black objects using the function regionprops. Here is the sample code for your ref...

2 months ago | 0

Answered
Error bar for a set of values
Hi Viswajit, You could achieve this using the functions bar to create a bar graph and errorbar to add the error bars. Here is h...

2 months ago | 0

| accepted

Answered
Channel assignment and carrier aggregation for wifi 6(802.11ax) BER and SNR
Hi Baris, To simulate WiFi 6 with channel assignment and carrier aggregation and obtain BER and SNR values, you can use MATLAB ...

2 months ago | 0

Answered
Creating a NetCDF (.nc) file with variables that contain a different dimension
Hi Simon, You can define different dimension for each variable while creating the variables using "nccreate" function. Here is ...

2 months ago | 1

Answered
Matlab crushes when importing large point cloud in xyz
Hi Paulina, I am also encountering a similar issue that you have mentioned and received the same stack trace. I was able to res...

3 months ago | 0

Answered
C++ code converting into Simulink
Hi Maryam, You can use Simulink.CodeImporter class to import custom C++ code into Simulink for modeling, verification, and vali...

3 months ago | 0

Answered
Calculate mean and standard deviation, the result is different from excel
Hi, I copy pasted the values of adjusted_image variable in the excel, and used the below formulas to calculate the value. =AVE...

3 months ago | 0

| accepted

Answered
Error while using Resnet-50 for transfer learning
Hi Bushra, Refer the following answer by @Sugandhi - https://www.mathworks.com/matlabcentral/answers/1962759-error-using-train...

3 months ago | 0

Load more