Community Profile

photo

BM


Last seen: 7 months ago Active since 2017

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Numerical Multiplication in MATLAB
Using MATLAB as a simple calculator, we get the results 2 * 0.155 * 100 = 31, 2 * 0.165 * 100 = 33, 2 * 0.135...

4 years ago | 1 answer | 0

1

answer

Question


Help Writing One's Own Functions
Writing a function in MATLAB was clear enough, but I ran into a little issue I want to correct. When I wrote functions in the p...

5 years ago | 1 answer | 0

1

answer

Question


How to Save Multiple MATLAB plots as Fig files?
With MATLAB 2018b, one can now hover over a gridpoint with the cursor to obtain a location. This ability is only present when t...

5 years ago | 0 answers | 0

0

answers

Question


How to save multiple MATLAB figures automatically in program?
In my script, I may save the figures as jpg files via the code (which works): % print(1,'-painters,'-djpeg',strcat(fil...

5 years ago | 1 answer | 2

1

answer

Question


If Else Statements With Conditions
I am looking to write an 'ifelse' statement with the conditions such as the following: a+7+b <= index <= c where _a_, _b...

5 years ago | 1 answer | 0

1

answer

Question


What Are The Common Causes of Wild Fluctuations In An Array of Data?
While I cannot post the code, I hopefully should be able to describe the issue in enough detail. I have a program that work...

6 years ago | 0 answers | 0

0

answers

Question


How to Properly Use VPA in MATLAB?
I have a couple of questions regarding _vpa_ in MATLAB. MATLAB states that " *You must wrap all inner inputs with _vpa_, such a...

6 years ago | 1 answer | 1

1

answer

Question


Exponentiation Turns Values Into Zeros.
After I solved an equation, I have good non-zero, numerical data. After exponentiation, some of these values go to zero, so lit...

6 years ago | 1 answer | 0

1

answer

Answered
Simple Method for Finding if ANY NaN values occur in a matrix.
Too bad! I was hoping I could get away with working in the command prompt rather than write a routine directly in the program, ...

6 years ago | 0

Question


Simple Method for Finding if ANY NaN values occur in a matrix.
Is there a quick method of finding out whether or not a matrix or a vector in matlab has *any* NaN values? A large matrix filled...

6 years ago | 4 answers | 0

4

answers

Answered
How to plot a vector (array) as a vertical line?
Ok, I think I found a solution, but I would definitely appreciate some feedback to make sure my solution is in line with what I ...

6 years ago | 0

Question


How to plot a vector (array) as a vertical line?
Say I have, from my data, a vector x, where x is a 1 x n row vector. How do I plot this as a vertical column vector on an alrea...

6 years ago | 1 answer | 0

1

answer

Question


How many cores does MATLAB use in a given program?
This might be an odd question, but my code has to be run on a more powerful machine. What would be helpful is to know how many ...

6 years ago | 1 answer | 0

1

answer

Question


Vectorizing Code Yields Different Answer to For-Loop
I ended up quickly writing a piece of code that theoretically should plot one value for each plot, giving 10 of them in total. ...

6 years ago | 0 answers | 0

0

answers

Answered
How to Get MATLAB to Save Non-Corrputed PDF Files?
Please discard the first part of this question. Everything now seems to work, and I am a little perplexed, as I literally chang...

6 years ago | 0

Question


How to Get MATLAB to Save Non-Corrputed PDF Files?
Ok, I have an issue that seems quite strange to me, and I don't exactly understand why I am getting mixed results when I run the...

6 years ago | 1 answer | 0

1

answer

Question


Rem function yields wrong output.
I am assuming that there is a little error (perhaps floating point), in my test loop. This particular loop I wrote is supposed ...

6 years ago | 1 answer | 0

1

answer

Question


How to plot row vectors in a matrix in which every marker is a different color and repeated amongst the other rows?
I am trying to essentially plot three things on a single 2-D graph. That is, say we have a matrix p(m,n) = [1 2 4; 3 5 7; ...

6 years ago | 2 answers | 0

2

answers

Question


How to obtain a no-loop iteration in MATLAB using anonymous functions?
I tried to adapt this base program to my needs, but I am running into an issue. In my particular program I have my function F de...

6 years ago | 1 answer | 0

1

answer

Question


Iteration Without the Implementation of Loops
I am interested in being able to run this particular code using i as the iterating vector. While this can easily be accomplishe...

6 years ago | 1 answer | 0

1

answer

Question


How to graph two different functions on different axes
Hopefully I am asking this correctly. Is there a way to plot two different functions on two different axes in MATLAB? Say alon...

6 years ago | 1 answer | 0

1

answer

Question


Create a circle function
I am interested in creating an actual path where I calculate a given function for a particle that travels along a given path. I...

7 years ago | 1 answer | 0

1

answer