photo

Shivam Chaturvedi

Last seen: 26 days ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Verification with Simulink test
Hi Udai, There is some expectation mismatch here. So what happens is that if a link is a verification link that MATLAB understa...

4 years ago | 0

| accepted

Answered
How to parallize for loop with sim command
I'm not sure if it's a good idea to use assignin in a function being called from |parfor| since it can cause abnormal results as...

8 years ago | 0

Answered
Matlab implementation of Bluetooth PHY layer?
For MATLAB related commands to control Bluetooth, you can have a look at the following examples from the MATLAB Documentation co...

8 years ago | 0

Answered
Error bars at intervals of data
Hi Matthew, It doesn't look like there's a direct way to restrict the individual error bars from being created. However, y...

8 years ago | 1

Answered
How to stop latex interpreter from being in italics
Hi Roederer, The overline on |u| would be there due to the fonts being used during the LaTeX interpreter. But there's a wa...

8 years ago | 10

| accepted

Answered
how to load variables from files when you know the file name?
Hi Alan, You can use the |load| command's following syntax to load the variables from each of the file into a struct: S ...

8 years ago | 0

Answered
java.lang.OutOfMemoryError: GC overhead limit exceeded
Hi Ansam, Are you using a custom toolbox? I see a |"Netanalysis"| function. Also, you can try increasing the Java Heap mem...

8 years ago | 0

Answered
Naming of bus elements using a cell-array of names
Hi Thomas, Instead of using |OutputSignalNames|, you can use the |PortHandles| parameter, and get the handles to the individu...

8 years ago | 0

Answered
how to converse GPS .txt files in .xls files
Hi Joel, If the GPS data is comma-separated or tab-delimited, then you can simply read in the data from the txt file. You can...

8 years ago | 0

Answered
TI DSP 28377D C2000 any example out there?
Hi leonsw, Check out the below link for TI C2000 based Simulink examples. <http://www.mathworks.com/examples/embedded-code...

8 years ago | 0

Answered
Can I create an array of classification models?
Hi Dejun, As this is an object, there are 2 methods that you can try to make an array of the model object: 1. Append the n...

8 years ago | 1

Answered
Find volume of a polyhedron
Hi Lila, Please refer to the following answer by Mike Garrity for instructions and an example on how to calculate the volume ...

8 years ago | 0

Answered
Function that graphs equations
You can define t in the following way: t = min:n:max % will define values from min to max with step size of n You sh...

9 years ago | 0

Answered
adding elements of an array column wise and storing it in different array
You can use the sum function ( <http://www.mathworks.com/help/matlab/ref/sum.html Sum of Array Elements [link to doc page]> ) an...

9 years ago | 1

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

9 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

9 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9 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. Example...

9 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 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...

9 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

9 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...

9 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

9 years ago

Solved


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

9 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 ...

9 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...

9 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:...

9 years ago