Submitted

setInterpreter

Set the interpreter properties of all relevant children of an axes or polar axes.

9 months ago | 1 download |

Answered

Very strange situation. By some reason the questdlg() does not work within a function:

Your function definition is wrong. Try function answer = Heat_Test() answer = questdlg('quest') end

Very strange situation. By some reason the questdlg() does not work within a function:

Your function definition is wrong. Try function answer = Heat_Test() answer = questdlg('quest') end

1 year ago | 0

Submitted

RS_ZNBT8_PNA

Connect to and Control Rhode and Schwarz ZNBT series Vector Network Analyzers

2 years ago | 3 downloads |

Submitted

calculateWaveguideImpedance

Calculates the wave impedance of TE_nm and TM_nm modes propagating in a rectangular waveguide

2 years ago | 4 downloads |

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

2 years ago

Solved

Find the peak 3n+1 sequence value

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

2 years ago

Solved

Summing Digits within Text

Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

2 years ago

Solved

Scrabble Scores

Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

2 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2 years ago

Answered

Polar Plot for 2 element antennas

Firstly, I would use the polarplot function instead of polar. Then you couls just plot a single point at the coordinate that you...

Polar Plot for 2 element antennas

Firstly, I would use the polarplot function instead of polar. Then you couls just plot a single point at the coordinate that you...

2 years ago | 0

| accepted

Answered

How do I plot two graphs on one figure?

Something like: dy = diff(y); dx = diff(x); plot(x,y); hold on; plot(x(1:end-1),dy./dx) The gradient using ...

How do I plot two graphs on one figure?

Something like: dy = diff(y); dx = diff(x); plot(x,y); hold on; plot(x(1:end-1),dy./dx) The gradient using ...

2 years ago | 0

Submitted

plot3Dmeshgrid

plot3Dmeshgrid(X,Y,Z) plots the 3D mesh that is returned by the function [Xgrid,Ygrid,Zgrid] = meshgrid(X,Y,Z)

2 years ago | 1 download |

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

2 years ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

2 years ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

2 years ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

2 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

2 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

2 years ago

Answered

Set Add-ons path using commands

Use addpath? <https://uk.mathworks.com/help/matlab/ref/addpath.html>

Set Add-ons path using commands

Use addpath? <https://uk.mathworks.com/help/matlab/ref/addpath.html>

3 years ago | 1

Answered

Using the ellipse graph.

Your equation ends up with some negative values - (which I'm not sure can be correct?), but if you are using polar coordinates, ...

Using the ellipse graph.

Your equation ends up with some negative values - (which I'm not sure can be correct?), but if you are using polar coordinates, ...

3 years ago | 0

Answered

trying to plot 2d graph with y=(x+some_thing/x+same_thing)

You need to use the ./ command, instead of just / y=(0.9*x+0.01)./(x+0.1) / by itself performs matrix division, whereas ...

trying to plot 2d graph with y=(x+some_thing/x+same_thing)

You need to use the ./ command, instead of just / y=(0.9*x+0.01)./(x+0.1) / by itself performs matrix division, whereas ...

3 years ago | 1

| accepted

Answered

flipud will not work anymore

It looks like you are calling flipud on the string 'deep', which will return the string 'deep'. I dont know what you cmocean com...

flipud will not work anymore

It looks like you are calling flipud on the string 'deep', which will return the string 'deep'. I dont know what you cmocean com...

3 years ago | 1

Answered

Number of columns on line 2 of ASCII file [ ].m must be the same as previous lines.

If you just want to run that code, which is contained in a script, just type the name of the .m file without the 'load' command

Number of columns on line 2 of ASCII file [ ].m must be the same as previous lines.

If you just want to run that code, which is contained in a script, just type the name of the .m file without the 'load' command

3 years ago | 1

Answered

Just one y axis is drawn in GUI when I use the plotyy.

Hi, plotyy creates two axes objects. You need to copy both to the new figure. Are you sure that your code is copying both obj...

Just one y axis is drawn in GUI when I use the plotyy.

Hi, plotyy creates two axes objects. You need to copy both to the new figure. Are you sure that your code is copying both obj...

3 years ago | 0

| accepted

Answered

Need help altering code to so it records all values, not just the final ones.

Hi, One way to create a table is to convert from a standard array: fprintf(' \n 4) Newton Raphsons Method \n') fprin...

Need help altering code to so it records all values, not just the final ones.

Hi, One way to create a table is to convert from a standard array: fprintf(' \n 4) Newton Raphsons Method \n') fprin...

3 years ago | 1

| accepted

Answered

Undefined function 's' for input arguments of type 'double'

Your function computeDeltaF expects the object as the input, not the property value Change the following line: fu...

Undefined function 's' for input arguments of type 'double'

Your function computeDeltaF expects the object as the input, not the property value Change the following line: fu...

3 years ago | 0

Answered

How to extract column information of a mix cell array! - Please Help :(

Hi, In this example, all of your '100' and 200' values are strings, so you need to identify the cells in the second column of...

How to extract column information of a mix cell array! - Please Help :(

Hi, In this example, all of your '100' and 200' values are strings, so you need to identify the cells in the second column of...

3 years ago | 1

| accepted

Answered

How to retrieve the output from callback function?

Hi, You will have to store the answer as a property or else if is will be lost when the callback function finishes executing....

How to retrieve the output from callback function?

Hi, You will have to store the answer as a property or else if is will be lost when the callback function finishes executing....

4 years ago | 1