Community Profile

photo

Debadipto

MathWorks

Last seen: Today Active since 2022

Statistics

All
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Matlab Engine for Python Installation Issue - usage with Miniconda and PowerShell
Hello @Steffen, I understand you have successfully installed the MATLAB engine for Python in your Miniconda environment and it ...

7 months ago | 0

Answered
MSE Mean Square Error of clock offset and clock skew not decreasing smoothly
Hello @Siva, I understand you’re trying to estimate the clock offset and clock skew of Pairwise Broadcast Synchronization using...

7 months ago | 0

Answered
Problem with estimating crossover frequency and corresponding isolation resistor value
Hello @Yaser, I understand that you have queries in estimating parameters for the operational amplifier circuit, namely the pha...

8 months ago | 0

Answered
Code Generation for Model that References an Export Function Model
Hello @Dana, I understand that you are encountering an issue with Embedded Coder when generating code for a model that has a re...

8 months ago | 0

Answered
Performing a factorial repeated measures ANOVA
Hello @Jake, I understand that you are seeking clarification on the appropriate MATLAB function to analyse the metric variation...

8 months ago | 0

| accepted

Answered
Python Error: ModuleNotFoundError: No module named 'pandas in MATLAB Web App Server
Hello @Antonios, I understand that you are encountering a Python error in the MATLAB Web App Server, with regard to the pandas ...

8 months ago | 0

Answered
Implement the "total variation distance" (TVD) in Matlab
Hi Sim, Upon searching, I found the exact question being asked on stackoverflow (I'm assuming it was posted by you only), where...

8 months ago | 1

Answered
How do I assign the storage class of a test point with ert.tlc?
Hi Taylor, You can check the following code snippet in order to assign all model test points to a storage class: testPoints = ...

8 months ago | 0

| accepted

Answered
Build process failing with model referencing
Hi Nagaraju, The error message suggests that the input file 'Modelname.a2l' is not found during the code generation process. Th...

8 months ago | 0

Answered
Error when using parallel computing toolbox
Hi Florian, Please refer to the following article: Why am I unable to use parpool with the local scheduler or validate my lo...

8 months ago | 0

Answered
How to generate a random walk along the edges in a hexagon grid?
Hi Retam, You can use the following function to generate a random walk along the edges in the hexagon grid. The function takes ...

8 months ago | 0

| accepted

Answered
How to measure SNR (Signal-to-Noise Ratio) of a Audio signal
Hi Pedro, To measure the SNR of a signal, you can simply use the MATLAB function "snr(x)", where x is the input signal. If yo...

8 months ago | 0

Answered
How do I write a partially mapped crossover that can produce multiple pairs of chromosomes
Hi Wan, You can use the following script to generate multiple pair of chromosomes: a = [1 3 4 6 7 10]; b = [2 3 7 4 6 10]; n...

10 months ago | 0

| accepted

Answered
Can't get or show every integer or pixel value of axes
Hi AG, MATLAB defines the floating-point coordinates returned by WindowButtonMotionFcn based on the position of the cursor. Whe...

10 months ago | 0

Answered
How can I add a listener to an axe to check everytime the amount of curves is changed. event ChildAdded works, but event ChildRemoved seem to not work.
Hi Bastien, One possible solution to the lack of "observability" of the "ChildRemoved" event in the MATLAB graphics.axis.Axes ...

10 months ago | 0

Answered
Question regarding plotting a map consisting of different layers
Hi Dipto, Based on my understanding, you want to plot the three shapefiles on top of each other in a single map. You can utilis...

10 months ago | 0

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

2 years 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...

2 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

2 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

2 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

2 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

2 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

2 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

2 years ago

Load more