해결됨

Find matching parenthesis

One of the most indispensable things about a great text editor for programming is the ability to quickly jump between matching p...

약 2달 전

해결됨

Decimal Comparison

*Background* A utility of particular interest to Cody and other MATLAB ventures is comparing the equality of two numbers. In ...

약 2달 전

해결됨

Test if a Number is a Palindrome without using any String Operations

*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

질문

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

3달 전 | 답변 수: 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...

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

3달 전 | 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))...

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

3달 전 | 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 ...

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

3달 전 | 1

제출됨

DragDataTip

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

3달 전 | 다운로드 수: 8 |

해결됨

Reverse Calculator

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

4달 전

해결됨

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

4달 전

해결됨

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

4달 전

해결됨

Bang Bang in Bangalore

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

4달 전

해결됨

Concatenate strings

concatenate a variable number of input strings to produce one outputstring

4달 전

해결됨

Perimeter

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

4달 전

해결됨

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

4달 전

해결됨

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

初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

4달 전

해결됨

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

4달 전

해결됨

Use of regexp

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

4달 전

해결됨

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

4달 전

해결됨

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

4달 전

해결됨

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

4달 전

해결됨

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

4달 전

해결됨

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

4달 전

해결됨

MATLAB Basic: rounding III

Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

4달 전

해결됨

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

4달 전

해결됨

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

4달 전

해결됨

Matlab Basics - Rounding II

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

4달 전