Answered
how do i generate samples of two input xor gate for neural networks
To generate a "random" binary sequence check out this similar thread! <http://www.mathworks.co.uk/matlabcentral/answers/114656-r...

10 years ago | 1

Answered
how to flip the inputs of an simulink block
See the image below. A variable switches the input on the switch blocks - see <http://www.mathworks.co.uk/help/simulink/slref/sw...

10 years ago | 0

Answered
FFT (fast fourier transform) matlab default example (need explanation)
L is the length of your signal. It is used to determine the time vector t and so on. <http://www.mathworks.co.uk/help/matlab/re...

10 years ago | 1

| accepted

Answered
How Can I Access Individual Powerpoint Shapes from a collection; actxserver COM objects
Solved it! Individual Shapes from the Shapes collection are accessed as Items. For a collection of two shapes (title and subt...

10 years ago | 1

| accepted

Question


How Can I Access Individual Powerpoint Shapes from a collection; actxserver COM objects
Hello All, First time question asker! I am trying to access multiple shapes (Title and Subtitle) one at a time in order to...

10 years ago | 1 answer | 0

1

answer

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

10 years ago

Answered
Counter using simulink block
There is a block - check <http://www.mathworks.co.uk/help/dsp/ref/counter.html counter> documentation!

10 years ago | 0

Answered
attempt to execute script varargin as a function
Try [A, B, C] = spagglom (1449, 'opts', IN) Where IN is an array of your variable number or arguments. Similar to what y...

10 years ago | 0

Answered
Collect response value with two for loops nested
It is only in the loops that the variable responses is changed to 5 x 4. If we deconstruct your code... numBlocks = 4; ...

10 years ago | 0

| accepted

Answered
nested fnc / error:I nput argument "handles" is undefined.
You have not yet defined your 'handles' variable before passing it into your function 'click'. This is typically where you pass ...

10 years ago | 0

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

10 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

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

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

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

10 years ago

Answered
Can anybody fix this problem about GUI and mouse position please?
Firstly You need to add end statements to each function. See the following documentation on <http://www.mathworks.co.uk/help/mat...

10 years ago | 1

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

10 years ago

Solved


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

10 years ago

Solved


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

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

10 years ago

Solved


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

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

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

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

10 years ago

Answered
xlsread not reading text only excel file
First of all your filename. You use the following lines of code to set up your file name: file_name = input(prompt,'s'); ...

10 years ago | 0

Answered
Help Creating Global Stiffness Matrix
First of all I would like to point out I don't know much about stiffness matrices - I've never had to use them before. There may...

10 years ago | 0

Answered
how can I do an integration window of a signal both in MATLAB and Simulink?
Hi Jorge. Have you considered running your simulink model from a MATLAB function, using the function <http://www.mathworks.co...

10 years ago | 0

| accepted