Community Profile

photo

Shivam Chaturvedi

Last seen: 2 meses ago Active since 2015

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Content Feed

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

alrededor de 2 años 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...

alrededor de 6 años 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...

alrededor de 6 años 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...

más de 6 años 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...

más de 6 años ago | 7

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

más de 6 años 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...

más de 6 años 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...

más de 6 años 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...

más de 6 años 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...

más de 6 años 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...

más de 6 años 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 ...

más de 6 años 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...

más de 6 años 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...

más de 6 años 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...

casi 7 años 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...

casi 7 años 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...

casi 7 años 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...

casi 7 años 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 ...

casi 7 años 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...

casi 7 años 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 ...

casi 7 años ago

Solved


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

casi 7 años 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...

casi 7 años ago

Solved


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

casi 7 años ago

Solved


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

casi 7 años 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 ...

casi 7 años 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...

casi 7 años 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:...

casi 7 años ago