Community Profile

# Henry Giddens

57 total contributions since 2016

View details...

Contributions in
View by

Submitted

hgiddenss/CST_App
A Matlab to CST Interface

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

2 months ago | 0

Submitted

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

Submitted

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

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

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

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

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

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

1 year ago

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

1 year ago | 0

| accepted

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

1 year 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)

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

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

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

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

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

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

1 year ago

Solved

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

1 year ago

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 1

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

2 years ago | 1

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

2 years ago | 0

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

3 years ago | 1