Community Profile

photo

Kshittiz

MathWorks

Last seen: 3 months ago Active since 2022

Followers: 0   Following: 0

I am an Engineering Development Group Intern at Mathworks. My major responsibility is to provide best support for MATLAB and Simulink. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks

Programming Languages:
C++
Spoken Languages:
English

Statistics

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

View badges

Feeds

View by

Answered
How to achieve i+1 indexing in simulink
Hi Hui, I understand you are facing issues while trying to achieve the ‘i+1’ indexing from your MATLAB script in Simulink. To...

7 months ago | 0

Answered
I am using the live data acquisition app but would like to record more than one channel. Is it possible to modify the code to achieve this?
Hi Terry, I understand you are using live data acquisition app and you want to know if recording more than one channel is possi...

7 months ago | 0

Answered
'Undefined function 'getSignal' for input arguments of type 'cell
Hi Mesut, I understand you are trying to run two functions in MATLAB consecutively. The first function extracts files from zi...

7 months ago | 0

Answered
Can MATLAB run a Linux binary by Lima VM on MacOs ?
Hi Nicola, I understand that you want to run a Linux binary by Lima Virtual Machine on MacOS and you are facing issues while ...

7 months ago | 0

Answered
Comparing Float value with integer value in Simulink/Autosar code generation
Hi Tejas, I understand that in the Autosar generated code, there is a variable named 'Sts' which is being compared with float...

7 months ago | 0

Answered
La commande "input" ne fonctionne pas sur mon Mac, impossible de saisir une valeur numérique au clavier. Cela fonctionnait sur une version antérieure.
Hey David, I understand that you are unable to enter numerical values using the keyboard on your macOS Ventura while using th...

7 months ago | 0

Answered
MATLAB R2022a remote installation fails without any errors
Hi Vinay, I understand that you want to install MATLAB from ISO without GUI. You can refer to the following MATLAB Answers t...

7 months ago | 0

Answered
Psychtoolbox help: How to get inputs with keyboard and present the input on screen
Hi Selen, I understand that you want your code to run for a certain period and save all the words typed during that period. But...

7 months ago | 0

Answered
One Matlab version breaks when I fix errors in the other one, after getting errors in startup: Unrecognized function or variable + warning: name is nonexistent.
Hi Zaida, I understand that you are using two MATLAB versions and encountering “Unrecognized function or variable” error while ...

7 months ago | 0

Answered
Pausing Simulink Model programmatically not working
Hi Byron, I understand you’re using the “set_param” function to pause your simulation but it’s not working as per your expectat...

7 months ago | 0

Answered
Code Generation File Does not exist.
Hi, I understand that you are encountering an error message stating : “Code Generation file does not exist” error. The error...

7 months ago | 0

Answered
Is there any way to do simultaneous input and output on the same NI device using the new Data Acquisition Interface?
Hi, I understand that you want to know if it is possible to create multiple sessions for the same device using the new Data acq...

7 months ago | 0

Answered
Generated Signals to Multiple Outputs With Different Rates Simultaneously
Hi, I understand you want to achieve synchronized output from two different channels on an NI DAQ Device. To resolve the issue...

7 months ago | 0

Answered
Is there any specific document and tutorials available to simulate linear electric actuator using Aerospace blockset in simulink?
Hey, Here are some documents and tutorials available to simulate a linear electric actuator using the Aerospace Blockset in Sim...

9 months ago | 0

Answered
Links in HTML Documentation generated by MATLAB not linking to correct location
Hey, Please note that the HTML generated by MATLAB doesn't inherently support internal anchor links, this is why you are being ...

9 months ago | 0

| accepted

Answered
Invalid version R2021 when installing for Python 3.7-3.9
Hey, The error you are facing can be due to an issue with the version parsing in the packaging library used by setuptools. The ...

9 months ago | 0

Answered
How to zoom the generated code in Embedded Coder App?
Hey, To zoom the generated code in Embedded Coder, you can follow these steps: In the Embedded Coder app, navigate to the "Cod...

9 months ago | 0

| accepted

Answered
Gradient calculation from a starting point in image
Hey Adele, I understand that you are iteratively searching for the pixel with the lowest height in the neighbourhood and then w...

11 months ago | 0

| accepted

Answered
How we are getting overflow when single(-2) is stored in uint32?
Hi, I understand that you are getting overflow when single(-2) is stored in uint32 block in Simulink. In Simulink, an overflow...

11 months ago | 0

| accepted

Answered
Running 'surf' many times to change thickness
Hi, I understand that you want to know if the thickness is changed if “surf” command is run on a particular area multiple tim...

1 year ago | 0

Answered
Why is the library browser in Simulink so slow in Matlab R2022 (MacOS) and how can it be fixed?
Hi Jonas, I understand that you are experiencing the issue of slow responsiveness of custom-built GUI for MATLAB R2022b on your...

1 year ago | 0

Answered
Is there anyway to create a plot with a discontinued x-axis, where the one set of data is linked to the left y-axis, and a second data is linked to right y-axis?
Hello Antonio, I understand that you are trying to plot 2 sets of data on the same x-axis, but the x-axis was discontinued. The...

1 year ago | 0

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

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


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

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


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


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


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


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

Load more