Community Profile

photo

Shubham

MathWorks

Last seen: 10 days ago Active since 2023

Statistics

  • 6 Month Streak
  • Knowledgeable Level 3
  • First Answer

View badges

Content Feed

View by

Answered
How to remove annotations in an image
Hi Warid, To remove annotations from an image using MATLAB, you can try using the roipoly function. This function allows you to...

6 months ago | 0

Answered
matlab uitable: split columns into several rows
Hi SA-W, I understand you want to handle the large number of columns in such a way that at max 10 columns can be present in on...

7 months ago | 0

Answered
is it possible to use multiple functions in cellfun
Hi Leo, No, it is not possible to directly use multiple functions as the first argument of cellfun in the way you described. Th...

7 months ago | 0

Answered
How can we implement UDS using Simulink but without using third party library blocksets?
Hi Mayur, I understand that you want to implement UDS using Simulink without indulging with any third party library blocksets. ...

7 months ago | 0

Answered
How to correct plot below
Hi Bhawya, I understand that you are trying to plot the excel data. Since there are alot of data, the plot contains very minute...

7 months ago | 0

| accepted

Answered
How can I save the stl file from Matlab?
Hi Parmi, I understand that you want to download the stl file from MATLAB. To download the office.stl file from MATLAB, you ca...

7 months ago | 1

Answered
Is it possible to use sequence input in CNN without using cell arrays?
Hi Kamila, If you are working with 1D vector input data and want to train a CNN in MATLAB without using the sequence input laye...

8 months ago | 0

Answered
average of matrix cells
Hi Ham, To calculate the average of specific cells in a matrix in MATLAB, you can use the mean function along with indexing. He...

8 months ago | 0

Answered
Some built-in python modules are erased after call to clear classes
Hi Mikael, There is an update to the previous answer that I provided. I am not encountering any errors when running the code s...

10 months ago | 0

Answered
ploting two function on the same graph and the values get updated in the while loop
Hi Taha, To add a second function to the plot, you can simply define a new variable for the second plot and use the "hold on" c...

10 months ago | 0

Answered
Is possible to pass an input image from an html form to matlab using javascript?
Hi MATTEO, It looks like your JavaScript code is correctly reading the uploaded image file as a data URL and sending it to MATL...

10 months ago | 0

| accepted

Answered
Why are there only two detection heads(subnetworks) in YOLOv3 example?
Hi Akshatha, The original YOLOv3 architecture has indeed three detection heads or subnetworks, which are responsible for detect...

10 months ago | 0

| accepted

Answered
Quicker way of summating data across multiple parent fields
Hi Ammar, There are a few things you can do to speed up your code. Use vectorized operations instead of nested loops. This wil...

10 months ago | 1

Answered
Creating histograms of a matrix with weights in separate matrix
Hi Ana, Here's how you can create a weighted histogram of matrix A using matrix B, without specifying the number of bins, only ...

10 months ago | 0

Answered
How to find points over a single border of a surface
Hi ENRICO, Since you have a mesh representation of the surface and a matrix of points on the borders, you can use the connectiv...

10 months ago | 0

Answered
About legacy code support, External ctypes, and callbacks.
Hi Charles, Yes, it is possible to manually define the struct which doesn't import as a bus using default types. You can define...

10 months ago | 0

Answered
Neural Networks with constrains
Hi Yonny, Yes, it is possible to constrain the inputs to your neural network to be positive using the MATLAB NN Toolbox. One w...

10 months ago | 0

Answered
How to edit ROI after already saved?
Hi Jonah, Yes, you can open images with ROIs and modify them in MATLAB using the imshow function and the imrect, imellipse, or ...

10 months ago | 0

| accepted

Answered
How does Simscape Thermal Liquid calculate energy flow rates?
Luke, In Simscape, the energy flow rates in and out of a block's ports are calculated based on the principle of conservation of...

10 months ago | 0

Answered
Is there a way to write a GeoTiff file with Color and Alpha Channel Data using geotiffwrite?
Hi Sonoma, Yes, it is possible to write a GeoTiff file with color and alpha channel data using geotiffwrite function in MATLAB....

10 months ago | 0

Answered
Pyinstaller with MATLAB engine
Hi Xianjie, Based on the error message you've provided, it seems like PyInstaller is not able to find the necessary modules for...

10 months ago | 1

| accepted

Answered
Psychtoolbox - Error using Screen in new computer
Hi Francesca, It is possible that the issue is related to the version of Psychtoolbox installed on the new computer. There migh...

10 months ago | 0

Answered
Function to calculate Nearest Neighbour Distance Function G
Hi Mohammad, Yes, there is a MATLAB function that can calculate the Nearest Neighbor Distance Function G. The function is calle...

10 months ago | 0

Answered
Timeseries, Timetable, timeseriescollection, Time Data Aggregation
Hi Jason, For aggregating this data with non-uniform sample rates, I would recommend using the tscollection object in MATLAB. T...

10 months ago | 0

Answered
Function Argument Validation: Comparing property size to a variable
Hi Bradley, Yes, there is a way to achieve this without the use of set and get methods. One possible solution is to use the val...

10 months ago | 0

Answered
Why inputsinglescan is much faster than read (data acquisition toolbox)
Hi Alessandro, The difference in the execution time between "inputSingleScan" and "read" functions could be related to various ...

10 months ago | 0

Answered
How to plot stress countours with same colour code in ABAQUS?
Hi Shins K, To plot stress values in MATLAB with the same colour code as in ABAQUS, you can follow the steps below: Use the im...

10 months ago | 0

Answered
fmincon: any way to enforce linear inequality constraints at intermediate iterations?
Hi SA-W, Yes, there are a few options you can try to ensure that the linear inequality constraints are satisfied at intermediat...

11 months ago | 0

Answered
Minimum up time MINLP
Hi Sankarshan, To represent the minimum uptime constraint for the generators in terms of the inequality matrix A, you can follo...

11 months ago | 1

Answered
How to pass a value to an enumeration member?
Hi Raha, To assign a value to a member of an enumeration, you need to use the dot notation. Here's an example of how to set the...

11 months ago | 0

Load more