Community Profile

photo

Henry Giddens


Last seen: 4 Tage ago Active since 2016

Statistics

All
  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 2
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

View by

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

fast 2 Jahre ago | 0

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

etwa 3 Jahre 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 ...

etwa 3 Jahre ago | 0

Answered
Set Add-ons path using commands
Use addpath? <https://uk.mathworks.com/help/matlab/ref/addpath.html>

fast 4 Jahre 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, ...

fast 4 Jahre 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 ...

fast 4 Jahre 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...

etwa 4 Jahre 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

etwa 4 Jahre 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...

etwa 4 Jahre 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...

etwa 4 Jahre 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...

etwa 4 Jahre 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...

etwa 4 Jahre 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....

fast 5 Jahre ago | 1

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

fast 5 Jahre ago | 0

| accepted

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

etwa 5 Jahre ago | 0

Answered
Help me with this loop. contains handles structure
If you want to do it like this, you can access structure fields using strings by enclosing the string referring to the fieldname...

etwa 5 Jahre ago | 0

| accepted

Answered
How to display the coordinate system of the figure (UCS icon)?
Hi yu, Yes I have done it a few times. You should be aware that this will work for me because the scale on each axis is equal. F...

etwa 5 Jahre ago | 1

| accepted

Answered
Reshaphing 3D Matrix into 2D Matrix
Yes reshape will work sz = size(A); B = reshape(A,sz(1),[],1); % or B = reshape(A,sz(1),sz(2)*sz(3)); Henry

etwa 5 Jahre ago | 1

| accepted

Answered
Rotating 3-D Histogram
How about: view(gca,[0 90]) % or ax = gca; ax.View = [0 90]; Henry

etwa 5 Jahre ago | 0

Answered
import csv file to specific sheet in excel
Hi, xlswrite attempts to write each element of your array to a single cell in the worksheet. Your arrays (J and K) are cell a...

etwa 5 Jahre ago | 0

Answered
How to control multiple pushbutton with keyboard using GUIDE?
Is it be possible that the focus is no longer on the figure and is instead on the pushbutton associated to the previous key? ...

etwa 5 Jahre ago | 0

| accepted

Answered
How to change the way data is scaled to custom colormap in a scatter plot.
Hi, One solution is to set the CLim values for the axis to be equal positive and negative values. The white section of your c...

etwa 5 Jahre ago | 0