Community Profile

# Rafa

### Univ of Waikato

12 total contributions since 2011

View details...

Contributions in
View by

How to read values from an ASCII file with several pairs of numbers within brackets?
Ops, problem solved... In case anyone has come across a similar issue, I just missed the space before each opening bracket. The ...

6 years ago | 0

| accepted

Question

How to read values from an ASCII file with several pairs of numbers within brackets?
Hi, would anyone have an idea about the simplest way to read values from an ASCII file written in the form below please? For the...

6 years ago | 1 answer | 0

### 1

Question

How to avoid ginput from becoming unresponsive to keyboard keys?
I have written a simple function to keep ginputting and plotting points on the current axes, and deleting the last clicked point...

6 years ago | 0 answers | 0

### 0

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 years ago

Solved

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

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

6 years ago

Solved

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

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

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

6 years ago

Solved

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

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

6 years ago

Submitted

rotateData
Rotate coordinates about any specified origin.