Community Profile Gatech AE

Last seen: 1 giorno ago Active since 2019

For my (working) functions, I like to ask "Can it go faster?"

Statistics

All
• • • • • • • • • • • • Content Feed

View by

Solved

Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

28 giorni ago

Solved

05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

28 giorni ago

Solved

02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

28 giorni ago

Solved

Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

28 giorni ago

Solved

metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

28 giorni ago

Solved

Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

28 giorni ago

Solved

square of a number
find square of a given number

28 giorni ago

Solved

Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

2 mesi ago

Solved

Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

2 mesi ago

Solved

Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

3 mesi ago

Solved

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

3 mesi ago

Solved

Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

3 mesi ago

Solved

De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

3 mesi ago

Solved

It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

3 mesi ago

Wildcard '*' not working for "isfile" or renaming using "move file" commands.
I frequently need all of the FITS image files from a directory, and so I've gotten used to using the "dir" function. It seems li...

7 mesi ago | 0

| accepted

Solved

Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

8 mesi ago

Solved

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

8 mesi ago

Solved

Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

8 mesi ago

Solved

Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

8 mesi ago

Solved

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

8 mesi ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

8 mesi ago

Solved

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

8 mesi ago

Solved

MATLAB Basic: rounding IV

8 mesi ago

Solved

MATLAB Basic: rounding III

8 mesi ago

Solved

MATLAB Basic: rounding II

8 mesi ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

8 mesi ago

What does logical AND operator do with label matrices?
The AND operator treats any nonzero value in "wsh" as true, so specific information about the labels is thrown out when creating...

8 mesi ago | 0

| accepted

How can I execute two functions with a time delay between the two calls?
If you use the "pause" function, you can specify a time in seconds as the input. It does require integers and uses decimals as f...

8 mesi ago | 0

Solved

Relative pose in 2D: problem 1
We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a...

8 mesi ago

Solved

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

8 mesi ago