Community Profile

photo

Jonathon Gibson


Last seen: 2 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
odeFunction: List variables through loop
You could combine [x1,x2,x3,x4,x5,x6,y1,y2,y3,y4,y5,y6] beforehand into a matrix XY. You would iteratively concatenate your x va...

6 years ago | 1

Answered
how can i sort columns of a matrix in ascending order using loops without using the functions max,min,sort?
Here's a really simple, inefficient way: M = rand(15,10) for col = 1:size(M,2) for iters = 1:size(M,1) ...

6 years ago | 1

| accepted

Answered
How can i find the number of pixels in any RGB image?
image = imread('image.jpg'); [height, width, channels] = size(image); pixels = height * width

6 years ago | 0

| accepted

Answered
Search and Replace file
If you're on a Unix system, and currently in the directory with the conf files, you can run from MATLAB: !sed -i 's/Amplitu...

6 years ago | 1

| accepted

Answered
Change the axis limits of a SVM plot
To change the axis limits, you can add axis([xmin xmax ymin ymax]) to the end of your script. This will make some of the higher ...

6 years ago | 1

| accepted

Answered
Hey, i'm new to matlab please help me understand the following statement.
diff(S,1,2) will return the difference between each adjacent pair of columns in S, this is approximating the x-derivative of the...

6 years ago | 0

| accepted

Answered
why am i not able to create user ID to access ONRamp?
Go into your matlab profile first, set the username in there, and then try accessing the on ramp courses.

6 years ago | 0

Answered
Assigning values for vector with number sequence
Here's how I went about it: First, we try to find a pattern in the sequence. To make it easier to see, let 1=r1 and 2=r2 and ...

6 years ago | 0

Answered
fprintf not writing same information from command window
If you want different formatting depending on the row, you can print each row individually: fileID = fopen('xlsreadtrial.tx...

6 years ago | 1