photo

Yash Srivastava

MathWorks

Last seen: 6 months ago Active since 2022

Followers: 0   Following: 0

I am an EDG Engineer at MathWorks. DISCLAIMER : Any advice or opinions here are my own, and in no way reflect that of MathWorks

Statistics

All
  • Knowledgeable Level 2
  • Community Group Solver
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Customized Regression MAE output layer ERROR:
Since 'nnet.layer.Acceleratable' was introduced in MATLAB 2022a, you won't be able to use it in R2018. Please refer to the foll...

1 year ago | 0

Answered
imfindcircles() doesn't find circle although radius is within the specified range and circle was succesfully detected before
Hi Chantal 'imfindcirles' uses Circular Hough Transform for finding circles. It populates an accumulator matrix independently f...

1 year ago | 0

| accepted

Answered
How can I plot first harmonic wave from a wave data (Excel)
Hi Hesham, In my understanding you need to plot data in 'waves.csv' in MATLAB. For this you can use 'readtable' function to re...

1 year ago | 0

Answered
Print full stack trace of both Cause and Base Exceptions
Hi Veeresh In my understanding you want to print full stack trace for both, base and cause exception. Currently there is no dir...

1 year ago | 0

Answered
Lines of code (in app) executed only with breakpoints
The reason why this happens is because of the order of events in this workflow, and how the breakpoint disrupts them. The typica...

2 years ago | 1

Answered
Highlighting Color set to blue after updating to 2022b
It is my understanding that you want to change the highlighting color of the current line. You can navigate to Home > Preferenc...

2 years ago | 0

Answered
In-place modification - doesn't work as expected
In my understanding you are looking for ways to avoid unnecessary deep copy of data to optimize memory usage. MATLAB can apply ...

2 years ago | 0

Answered
llr scaling in 5g nr PUSCHThroughoutExample
In my understanding you are confused about why LLR value is scaled by CSI before ULSCH decoding. ulschLLRs = ulschLLRs .* csi; ...

2 years ago | 0

| accepted

Answered
Preview while waiting for Trigger
I am assuming that you want the camera to display live preview when the hardware trigger is enabled. So, internally this is ho...

2 years ago | 0

Answered
Deployment Problems GUI to Exe (or Web or Desktop)
I am assuming you are trying to access a toolbox that is not available with your license. You can create a sales request here an...

2 years ago | 0

Answered
Change parameters of network from Deep Network Designer
It is my understanding that you are trying to change the properties of a convolution layer in a neural network after exporting i...

2 years ago | 1

| accepted

Solved


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

2 years ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

2 years ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

2 years ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

2 years ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

2 years ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2 years ago

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

2 years ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

2 years ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

2 years ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

2 years ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

2 years ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

2 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

2 years ago

Solved


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 years ago

Solved


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 years ago

Answered
Matlab crashes when I start the application
Hi Erez, This is a known bug and will be fixed in future releases.

2 years ago | 1

Answered
Frequency Characteristic on Simulink
Hi Bahar, Your "Time (t)" parameter of Signal Generator block is set to "Use external signal", but no external signal has been ...

2 years ago | 0

Answered
why the plot figure is empty?
Hi Claudia I have modified your code a little bit. Instead of using function handle, we can directly use the expression treatin...

2 years ago | 0

| accepted

Answered
problem with matlab live script and the export function
This is happening because the “export” function considers the last saved changes made to the file as “checkpoint” and exports th...

2 years ago | 0

Load more