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

23일 ago | 0 answers | 0

Answered

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

24일 ago | 0

Answered

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

24일 ago | 0

Answered

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

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

약 1달 ago | 23 downloads |

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

약 2달 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...

약 2달 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...

약 2달 ago

Solved

Bang Bang in Bangalore

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

약 2달 ago

Solved

Concatenate strings

concatenate a variable number of input strings to produce one outputstring

2달 ago

Solved

Perimeter

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

2달 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

2달 ago

Solved

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

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

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

2달 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?...

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

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

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

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

2달 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

2달 ago

Solved

MATLAB Basic: rounding III

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

2달 ago

Solved

MATLAB Basic: rounding IV

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

2달 ago

Solved

MATLAB Basic: rounding II

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

2달 ago

Solved

MATLAB Basic: rounding

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

2달 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

2달 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: ...

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

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

2달 ago

Solved

Find Rotated Substring

Given a string s1, find if a rotated version of s1 is present in a second string s2. For example, rotated version of some str...

2달 ago