photo

Mihir


Last seen: 12 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
I have an indices error in my code
The error you mentioned, "index in position 1 is invalid," is likely caused by the indexing in the line where you update the flo...

1 year ago | 0

Answered
Multiplication of complex numbers and ISTFT result
The complex double numbers you are getting as results after the inverse Fast Fourier Transform (ifft) in variable c1 are likely ...

1 year ago | 0

Answered
Need help to overlay transparent red on gray scale images (or movie) using a binary mask
Hi, you can take the following steps to overlay a red transparent blur over the original grayscale image using the provided mask...

1 year ago | 0

Answered
Calculate the average of a matrix
Hi Lama, your code is on the right track, but there are a couple of issues that need to be addressed. Here's an updated version ...

1 year ago | 0

| accepted

Answered
I am getting an error while embedding text file inside the image that is Inputs must be numeric. Error in gliomatextfile (line 17) modifiedImage = bitset(image, bitPlane, bi
The error you're encountering suggests that the variable binaryData is not numeric, which is required by the bitset function. Th...

1 year ago | 0

| accepted

Answered
Edit:Pass Struct by Reference to Internal Functions for Code Generation
Hi there, it seems that you want to pass the parameters by reference rather than pass by value In MATLAB, there is no direct w...

1 year ago | 0

Answered
How to import certain lines of a dat file into matlab
In MATLAB, you can use the "textscan" function to read the data from the text file and extract the desired values. Below code sn...

1 year ago | 0

Answered
Average values per hour per day from a timeseries
Yes, you can use a loop to calculate the hourly averages for 365 days using the find function. Here's an example code that shoul...

1 year ago | 0

Answered
how to change the code below with while loop to for loop?
Hi, the replacement of the outer while loop by the for loop can be made by firstly declaring the upperbound of the for loop (num...

1 year ago | 0

Answered
why this code doesn't give me plot line (without error)?
According to the labels mentioned, there is a mismatch between the x labels and the parameter passed the probability and for y l...

1 year ago | 0

Answered
How I Could convert a equation to Coding
To convert an equation with partial derivatives to code in MATLAB, you will first need to define the equation in terms of variab...

1 year ago | 0