Community Profile

photo

Viju

Last seen: 15 giorni fa Attivo dal 2014

Statistiche

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Content Feed

Visto da

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

circa 9 anni fa

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

circa 9 anni fa | 1

| accettato

Risolto


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.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

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

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 1

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

circa 10 anni fa | 1

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

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 0

Risposto
How to generate multiple random samples of size 200
One way to go about this: x = randn(200,1000); This generates normally distributed pseudo-random numbers between 0 and 1...

circa 10 anni fa | 0

Risposto
How to say that 2 stem graphs are identical?
If you have the underlying data that created the two stem plots, you can check the difference between the two data. Say you hav...

circa 10 anni fa | 0