Solved

Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

8 mesi ago

Answered

create an executable from name.m

To generate MATLAB executable files you need the MATLAB Compiler. From there you would use the deploytool function. https://www...

create an executable from name.m

To generate MATLAB executable files you need the MATLAB Compiler. From there you would use the deploytool function. https://www...

8 mesi ago | 0

Answered

Computing element by element and in degress

Is this a homework assignment? MATLAB allows you to perform element-wise calculations on arrays using dot notation prior to the...

Computing element by element and in degress

Is this a homework assignment? MATLAB allows you to perform element-wise calculations on arrays using dot notation prior to the...

8 mesi ago | 0

Solved

A Simple Tide Gauge with MATLAB

*∿ ∿ ∿ ∿ ∿ ∿ ∿ ∿* You are standing in a few inches of sea water on a beach. You a...

8 mesi ago

Answered

Set negative values to zero in just one column of tables in 1 x 71 cell

Assuming that each table contains a variable name of 'rrr24', then the following should work. for i=1:length(C) C{i}{C{i}{...

Set negative values to zero in just one column of tables in 1 x 71 cell

Assuming that each table contains a variable name of 'rrr24', then the following should work. for i=1:length(C) C{i}{C{i}{...

8 mesi ago | 1

| accepted

Question

How to split a string of digits into groups of three from right-to-left using only regular expressions?

While I have been able to accomplish this task using a varitey of mixed functions such as regexp() and fliplr(), I am ultimately...

8 mesi ago | 1 answer | 1

Answered

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?

Ended up solving the problem myself by using a State Button to change the KeyPressFcn for the UIFigure. It requires a little tri...

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?

Ended up solving the problem myself by using a State Button to change the KeyPressFcn for the UIFigure. It requires a little tri...

8 mesi ago | 0

| accepted

Answered

Access .txt and .csv, edit data, error statistics

A basic method for importing only the Temp and RH data into tables filename = 'Airport.csv'; opts = detectImportOptions(filena...

Access .txt and .csv, edit data, error statistics

A basic method for importing only the Temp and RH data into tables filename = 'Airport.csv'; opts = detectImportOptions(filena...

8 mesi ago | 0

| accepted

Answered

Error using subplot (line 332) Index exceeds number of subplots.

x=[-3:0.01:3]; y=1/4*ones(size(x)); for n=1:40 ao=(1/6); an=((-1)^n)/(n^2*pi^2); bn=-(-1)^n/(n*pi)-(2)/(n^3*pi^...

Error using subplot (line 332) Index exceeds number of subplots.

x=[-3:0.01:3]; y=1/4*ones(size(x)); for n=1:40 ao=(1/6); an=((-1)^n)/(n^2*pi^2); bn=-(-1)^n/(n*pi)-(2)/(n^3*pi^...

8 mesi ago | 0

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.

Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

8 mesi ago

Solved

Polarisation

You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

8 mesi ago

Solved

Pi Digit Probability

Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

8 mesi ago

Solved

The glass half full

Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

8 mesi ago

Solved

Is it really a 5?

A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

8 mesi ago

Answered

How to change ASCII values?

I simple way of converting characters values or character vectors to apply a numerical calculation directly to the characters. ...

How to change ASCII values?

I simple way of converting characters values or character vectors to apply a numerical calculation directly to the characters. ...

8 mesi ago | 0

Answered

Plot using while loop

Sami is correct that you are running n to a higher value than the total number of elements in r. I better way to approach this p...

Plot using while loop

Sami is correct that you are running n to a higher value than the total number of elements in r. I better way to approach this p...

8 mesi ago | 1

Answered

Compiled version not working because of path

If you are certain that the image you are looking for is always going to be on the Desktop and your OS is Win10, you can try the...

Compiled version not working because of path

If you are certain that the image you are looking for is always going to be on the Desktop and your OS is Win10, you can try the...

8 mesi ago | 1

| accepted

Answered

another way to break without using the command 'break'

To stop the while loop you need to make sure that none of the conditions are met, else it will keep running. By changing || to &...

another way to break without using the command 'break'

To stop the while loop you need to make sure that none of the conditions are met, else it will keep running. By changing || to &...

8 mesi ago | 0

| accepted

Answered

Problem with Toggling Invisibility of Edit Text Box

With App Designer you need to look at the Object's value property as you are doing. However, it will return a logical value. If ...

Problem with Toggling Invisibility of Edit Text Box

With App Designer you need to look at the Object's value property as you are doing. However, it will return a logical value. If ...

8 mesi ago | 0

| accepted

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

8 mesi ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

8 mesi ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

8 mesi ago

Solved

Kryptos - CIA Cypher Sculpture: Vignere Decryption

The <http://en.wikipedia.org/wiki/Kryptos Kryptos Sculpture> contains four encypted messages. This Challenge is to Decrypt tw...

8 mesi ago

Solved

Kryptos - CIA Cypher Sculpture: Vigenere Encryption

The <http://en.wikipedia.org/wiki/Kryptos Kryptos Sculpture> contains four encypted messages. This Challenge is to Encrypt tw...

8 mesi ago

Solved

Mean and standard deviation of times in string

Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

8 mesi ago

Solved

Generate a melodic contour string matrix

<http://en.wikipedia.org/wiki/Parsons_code Parsons code> is a surprisingly effective way to identify music by its melodic motion...

8 mesi ago

Solved

Make a list string

Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

8 mesi ago

Solved

Backslang, odds are you used it at some point in time...

So backslang is a language that can be used to communicate in an easy decode code, if people know the rules of decoding it. Wel...

8 mesi ago

Solved

NO _________ ALLOWED....

So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

8 mesi ago

Solved

ABBREVIATION

Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

8 mesi ago