Solved

Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

4 Monate ago

Solved

ASCII Birthday Cake
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

4 Monate ago

Question

How can I invoke a function from within App Designer when using a DeleteFcn or CloseRequestFcn from a MATLAB figure that is separate from the App GUI?
I am trying to find a work around to the lack of axes callback usage from within an App Deisnger axes. Ultimately, I want to ass...

5 Monate ago | 0 answers | 0

### 0

How to skip some strings in a text file
If you do not have a set number of header lines, but know the content of the last header line, you can read a portion of the fil...

5 Monate ago | 0

Why is this giving me an error message when trying to use trapz.
A more concise aproach. B = 18.6; step = 0.5; tmax = 90; npas = tmax/step+1; U = 60; fun3 = @(s) (0.0081*(exp(-0.0058.*s))...

5 Monate ago | 0

Efficiently add cell value from a matrix row based on corresponding index to another matrix row
It looks as if every other column of B is a row index corresponding the the rows of A. It also appears that C consists of pairs ...

5 Monate ago | 1

Submitted

DragDataTip
Creates draggable data tips with custom labeling options on most 2-D plots. Custom labels options can also be applied to standar...

Solved

Reverse Calculator
Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

6 Monate ago

Solved

Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

6 Monate ago

Solved

letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

6 Monate ago

Solved

Bang Bang in Bangalore
Imagine a strange language disorder, Bangolangosis, has developed among trigonometricians of <http://en.wikipedia.org/wiki/Banga...

6 Monate ago

Solved

Concatenate strings
concatenate a variable number of input strings to produce one outputstring

6 Monate ago

Solved

Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

6 Monate ago

Solved

Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

6 Monate ago

Solved

2倍してみよう - ここからスタート！

6 Monate ago

Solved

Poker Series 01: isStraightFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

6 Monate ago

Solved

Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...

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

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

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

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

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

6 Monate ago

Solved

MATLAB Basic: rounding III

6 Monate ago

Solved

MATLAB Basic: rounding IV

6 Monate ago

Solved

MATLAB Basic: rounding II

6 Monate ago

Solved

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

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

6 Monate ago

Solved

Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

6 Monate ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

6 Monate ago

Solved

Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

6 Monate ago