photo

rafael gonzalez


Intelligent Well Control

Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • Solver

View badges

Feeds

View by

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

ungefär 11 år ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

ungefär 11 år ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

ungefär 11 år 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...

ungefär 11 år ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

ungefär 11 år ago

Answered
how to remove unwanted signal
I managed to solve my problem by just recreating a signal with the similar shape and after filtering the original signal i appli...

ungefär 11 år ago | 0

Solved


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

ungefär 11 år ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

ungefär 11 år 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...

ungefär 11 år ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

ungefär 11 år ago

Solved


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

ungefär 11 år ago

Solved


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

ungefär 11 år 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...

ungefär 11 år ago

Answered
how to remove unwanted signal
Here is a copy of the signal for 60 seconds. 15716 16058 15830 15950 15850 16102 15942 15920 16244 16205 16193 158...

ungefär 11 år ago | 0

Question


how to remove unwanted signal
I have a signal that is roughly in the shape of a sine wave rectifier. At random intervals there are square wave pulses inserted...

ungefär 11 år ago | 4 answers | 0

4

answers

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

ungefär 11 år ago

Solved


Return area of square
Side of square=input=a Area=output=b

ungefär 11 år 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 ...

ungefär 11 år ago

Solved


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

ungefär 11 år 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...

ungefär 11 år 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 ...

ungefär 11 år 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...

ungefär 11 år 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:...

ungefär 11 år ago

Question


how do I calibrate an accelerometer?
I am trying to calibrate a sensor. could somebody please help me find the values of theta xy, yx, yz, zx. or explain how to deri...

nästan 12 år ago | 1 answer | 0

1

answer

Question


how do i solve for the unknown variable
I have 3 axis x y and z. I wish to find Z such that the sum of the squares would be equal to 1. the data is stored in a vecto...

nästan 12 år ago | 1 answer | 0

1

answer