Community Profile

photo

Henry Giddens


Last seen: ein Tag vor Aktiv seit 2016

Followers: 0   Following: 0

Kontakt

Statistiken

All
  • Knowledgeable Level 3
  • 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

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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

mehr als 4 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

| akzeptiert

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

mehr als 6 Jahre vor | 1

Beantwortet
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

mehr als 6 Jahre vor | 2

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 1

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

| akzeptiert

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

mehr als 7 Jahre vor | 3

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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

mehr als 7 Jahre vor | 1

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0