Community Profile

# Henry Giddens

56 total contributions since 2016

#### Henry Giddens's Badges

View details...

Contributions in
View by

Submitted

hgiddenss/CST_App
A Matlab to CST Interface

environ 2 mois ago | 21 downloads |

Submitted

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

8 mois ago | 0 downloads |

Submitted

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

8 mois ago | 0 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...

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

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

environ un an 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...

environ un an 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...

environ un an 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...

environ un an 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 ...

environ un an 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)

environ un an ago | 2 downloads |

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

environ un an 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...

environ un an 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...

environ un an 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...

environ un an 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...

environ un an 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...

environ un an ago

Solved

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

environ un an ago

Set Add-ons path using commands

environ 2 ans 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, ...

environ 2 ans 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 ...

environ 2 ans 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...

environ 2 ans 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

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans ago | 0

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

environ 2 ans 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....

presque 3 ans ago | 1

Can I convert a complex value vector into corresponding string?
str = num2str(u) https://uk.mathworks.com/help/matlab/ref/num2str.html

presque 3 ans ago | 0

| accepted

How do I name this variable dynamically?
In your example above, the variable "batch" is a string. You cant reference object properties or methods, or structure fields fr...

environ 3 ans ago | 0