Harry MacDowel


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

“Computers are useless. They can only give you answers.”
(Pablo Picasso)
Professional Interests: data processing

Statistik

MATLAB Answers

4 Fragen
26 Antworten

RANG
1.247
of 300.352

REPUTATION
60

BEITRÄGE
4 Fragen
26 Antworten

ANTWORTZUSTIMMUNG
50.0%

ERHALTENE STIMMEN
14

RANG
 of 20.928

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 168.212

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
When using fopen, what's the difference when we include/exclude 'w' in the second half of the parenthesis?
The 'w' simply means write. So if the file 'exp.txt' does not exist, that command will create exactly the file, and allows yo...

fast 12 Jahre vor | 0

Beantwortet
what is wrong with fprintf
Try this fprintf('the first number is %0.1f and the second is %0.1f\n',a,b)

etwa 14 Jahre vor | 0

Frage


Pan a Plotted Curve with a Stationary Plot Behind
figure; X = rand(100,1); Y = rand(100,1); plot(X,Y); hold on; plot(X,sin(Y)); I want to be able to pan t...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
trend line calculation and display
First, plot the data like usual. Then go to Tools -> Basic Fitting Choose one of the fittings you like, then check Show ...

etwa 14 Jahre vor | 10

| akzeptiert

Beantwortet
how ro rename matrix
newmatrixname = matrix1;

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
How do I change the Matlab Desktop font preferences using commands?
You know what, Yair, I bet you gonna love this extraordinary File Exchange function called cprintf Check it out here:- ...

etwa 14 Jahre vor | 0

Beantwortet
While loop homework problem
I felt a bit bored so I do the coding for you. Also I might have use for this in near future. Just run arcCosSin in command wind...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
how would i make this tricky switch case
help switch

etwa 14 Jahre vor | 0

Beantwortet
Display Log scale on y axis of graph
A log scale but not the log of your data, that is exactly what semilogy is doing. In fact I think you are not stating your prob...

etwa 14 Jahre vor | 0

Beantwortet
Somehow the 2nd X-Axis is not what it seems
Anyway I tried several more methods including those suggested by Walter. My conclusion of solving this problem is as follows:...

etwa 14 Jahre vor | 0

Beantwortet
The music you listen to when you're Matlab-ing?
Interesting stuff you got there, Walter! For me it is some fast-paced hip hop songs like Eminem's "Lose Yourself" to wake me up...

etwa 14 Jahre vor | 0

Beantwortet
Somehow the 2nd X-Axis is not what it seems
The following code before the figure is plotted solve the apparent bug:- set(figurehnd,'position',[1 47 1440 786]); ...

etwa 14 Jahre vor | 0

Frage


Somehow the 2nd X-Axis is not what it seems
I am plotting a 2nd y-axis to my existing codes without any data on it so I am actually 'converting' from one to the other, as b...

etwa 14 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


The music you listen to when you're Matlab-ing?
Hie all, I am always interested in what kind of music that gives you the kick when you're programming. You can be a little spec...

etwa 14 Jahre vor | 6 Antworten | 0

6

Antworten

Beantwortet
Regarding calling of matrix outside for loop
Combined = [] for i=1:1:4 Mat = rand(2); Combined = [Combined;Mat]; end

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
finding number of a column in a cell (column that contains a specified string)
find(char(CELL)=='a') Does that help?

etwa 14 Jahre vor | 1

Beantwortet
burst duration
I do not know what do you mean by consecutive values. You mean 1,2,3,4,5,6,7... consecutive? Or 1,1,1,1,1,1,1.. consecutive? ...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Indirect addressing in structure
It works like this:- P.variable = rand(20,1); x = [4 5 6 9]; for ii=1:4 P.variable(x(ii)) = ii; end ...

etwa 14 Jahre vor | 0

Beantwortet
load() into workspace?
Why don't you use textread or textscan or fscanf? doc textread doc textscan doc fscanf You can control the type ...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Axis date values disappear when datetick is applied to a simple time-series plot
I feel your pain. I used to deal with date on x-axis and it is really a huge, huge pain. I suggest you go to File Exchange and ...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
cropping satellite image (RGB image)
Unhas, To save the image in high quality, look for the print function doc print You can even set PaperPositionMode....

etwa 14 Jahre vor | 0

Beantwortet
find peaks
Sometimes identifying the noise would be a good start. Try Allan Variance method. Good luck!

etwa 14 Jahre vor | 0

Beantwortet
is it possible aarays in first row and first column of a cell be writen in red or other color?
I think that has something to do with the display of the data rather than the content of the data. What I know is, in GUI, yo...

etwa 14 Jahre vor | 0

Frage


Simulink Signal and Physical Signal
I am new to Simulink although I'd been using Matlab for a long time. I am planning to use the Simhydraulic package. I have tw...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
GUI Button with keyboard shortcut
Yes you can, Jan. If you want to do that, you can define the KeyPressFcn by passing the input into a function you created you...

mehr als 14 Jahre vor | 0

Beantwortet
Pushbutton in GUI
I do not know whether you refer to the variables which are executed in pushbutton1 to pass it to pushbutton2 or you want to know...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Find similarity between string inputs
The function strcmp is a good start for you to study:- <http://www.mathworks.com/help/techdoc/ref/strcmp.html>

mehr als 14 Jahre vor | 0

Beantwortet
Loading File with Interspersed text and numbers
You want to try fscanf. The documentation: <http://www.mathworks.com/help/techdoc/ref/fscanf.html> One of the examples:- ...

mehr als 14 Jahre vor | 1

Beantwortet
plotting a shadow of an object in Matlab
I don't think it's a very hard thing to do. Just draw a cone with the tip as the light source. Draw 4 lines connecting the light...

mehr als 14 Jahre vor | 0

Beantwortet
GUIDE multiple images and variable handling
I am not really clear too about the question. Anyway, displaying answers on the static textbox should look like this:- s...

mehr als 14 Jahre vor | 1