Community Profile

photo

Shivam Chaturvedi

Last seen: 7달 전 2015년부터 활동

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
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...

2년 이상 전 | 0

| 수락됨

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 1

답변 있음
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...

6년 이상 전 | 7

| 수락됨

답변 있음
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 ...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 0

답변 있음
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...

6년 이상 전 | 1

답변 있음
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 ...

6년 이상 전 | 0

답변 있음
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...

7년 이하 전 | 0

답변 있음
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...

7년 이하 전 | 1

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전

문제를 풀었습니다


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

7년 이상 전