Community Profile # Viju

Last seen: 5 days ago Active since 2014

#### Statistics

All
• • • #### Content Feed

View by

Solved

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

7 years ago

Solved

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

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

7 years ago

How to convert image array to double array?
Take your integer array - let's call it 'intArray' and do the following: dblArray = double(intArray);

7 years ago | 1

| accepted

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

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

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

8 years ago

Solved

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

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

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

8 years ago

Solved

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

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

8 years ago

Solved

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

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

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

8 years ago

re-arranging of columns
Once you import this data into a MATLAB variable, there are multiple methods. One way is as follows, where x is the data and y i...

8 years ago | 0

| accepted

Why has Statistical Toolbox disappeared?
Ideally this shouldn't occur unless you unchecked Statistics Toolbox while installing. Take a look at what you obtain when you t...

8 years ago | 1

Image Processing tool box
There is an Image Tool/Image Viewer App to explore images. It may not provide you with a similar set of menus as in the Wavelet ...

8 years ago | 1

How to display entries of a vector with exclusion?
setdiff(V,V(A)) will give you the vector that you want. This will work when V and A are vectors and not cell arrays (you a...

8 years ago | 0

| accepted

matlab hangs when help window is opened
This is a bug report for this and a workaround. <http://www.mathworks.com/support/bugreports/870843>

8 years ago | 0

| accepted

Convert algorithm code to simulink model
You can incorporate existing MATLAB script in a Simulink model using MATLAB function blocks. For information on that, take a loo...

8 years ago | 0