Community Profile

photo

Raunak Gupta


Last seen: 1 day ago

MathWorks

293 total contributions since 2019

I am an Application Support Engineer in the EDG Group, The MathWorks.
My Area of Interest are MATLAB and Image Processing.

DISCLAIMER: Any Advice or opinions here are my own, and in no way reflect that of MathWorks.

Raunak Gupta's Badges

  • Thankful Level 1
  • 12 Month Streak
  • Pro
  • Introduction to MATLAB Master
  • Community Group Solver
  • Revival Level 2
  • Solver
  • Knowledgeable Level 3
  • First Answer

View details...

Contributions in
View by

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

3 days ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

3 days ago

Solved


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

3 days ago

Solved


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

3 days ago

Solved


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

3 days ago

Solved


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

3 days ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

3 days ago

Solved


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

3 days ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

3 days ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

3 days ago

Answered
Blur edges of rectangles in the image
Hi, If you know the corner points of rectangles in the image, then you can extract a matrix around those corners of rectangle ...

17 days ago | 0

Answered
How to use LSTM and CNN to handle a regression problem?
Hi, I am unable to understand what exactly you are doing with input and output of the network, but I think its related to eith...

17 days ago | 0

Answered
What is the meaning of E in state space represenation of dynamical system
Hi, If you are using tf2ss to convert the transfer function to State space model then it will not return the E matrix. That fo...

17 days ago | 0

| accepted

Answered
How to calculate volume fraction in small blocks in the stack of 2D binary images?
Hi, As mentioned in this Answer, you can calculate the volume fraction as fraction of count of non-zero pixel values to the to...

18 days ago | 0

| accepted

Answered
Custom deep learning network - gradient function using dlfeval
Hi, From the code I only see a syntax error on the following line [gradx1(i), gradx2(i)] = dlfeval(@modelGradientsX,dlnet,dl...

18 days ago | 0

| accepted

Answered
Discrete variables implementation in ga
Hi, When you open the example in MATLAB using the command (View MATLAB Command) given in the top right pane of the documentati...

1 month ago | 1

Answered
optmization code for sumsqure of error
Hi, The objective function you have mentioned in the question is not what you are trying to minimize. As the combination of UA...

1 month ago | 0

Answered
power in antenna pattern()
Hi, The ‘Type’ means the radiation pattern quantity to plotted with respect to azimuth and elevation. By default, its 'directi...

1 month ago | 0

Answered
define new variables based on clustering results
Hi, From the example in the question I understand you have matrix with 6 observation, and you are clustering them into 3 group...

1 month ago | 1

Answered
How to read an amira file?
Hi, Load Amira 5.2.2 Files is one of the submissions for loading amira file in MATLAB File Exchange on MATLAB Central which is...

1 month ago | 0

Answered
Convert a Problem-based model to a Solver-based model using prob2struct in MATLAB
Hi, Since the problem is framed using ‘lsqlin’ the prob2struct is returning the problem structure as per lsqlin optimization p...

1 month ago | 0

Answered
Complex data type support for dlarray
Hi, The feature of using complex data type in dlarray is not supported as of now. I have brought this issue to notice of the c...

1 month ago | 0

Answered
Edit and combine images with labels after losing the original labeling session of Image Labeler
Hi, If labels are available, you can use Import Labels option in ImageLabeler App. Here I am assuming while saving the labels ...

1 month ago | 0

Answered
How can i crop images from multiple folders that are located under one main folder to a specific size before i feed it through a CNN?
Hi, You can use augmentedImageDatastore to augment the images read by imageDatastore. The cropping function can be achieved us...

1 month ago | 0

| accepted

Answered
Identify and mark the number of breeds from pictures or videos
Hi, This can be done using object detection with the help of Deep Leaning Networks. For the identification you will require to...

1 month ago | 0

Answered
I have a function that plots a graph, how do I tell it which app.UIAxes to plot it on in AppDesigner?
Hi, If the plotting function is common for multiple UI Axes then, adding the parameter in plotting function which takes Axes a...

1 month ago | 0

Answered
Taylor series input arguments error
Hi, As Walter mentioned in the comments the issue would be that you may have defined a local variable named ‘taylor’ which is ...

1 month ago | 0

Answered
services::io::PrintFormat name specified
Hi, This is a known issue. In order to resolve the issue, you may remove the preferences folder "prefdir" and re-start MATLAB....

1 month ago | 0

Answered
Matched filter using FFT
Hi, There is similar question about implementing Matched filter answered here. https://www.mathworks.com/matlabcentral/answe...

1 month ago | 0

Answered
Open Sim from Star CCM+ in matlab
Hi, There is a similar question which answers about using Star CCM+ from MATLAB. You may refer to that question for solution. ...

1 month ago | 0

Load more