photo

Shawn


Pennsylvania State University

Active since 2014

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

9 Questions
2 Answers

RANK
35,235
of 300,365

REPUTATION
1

CONTRIBUTIONS
9 Questions
2 Answers

ANSWER ACCEPTANCE
77.78%

VOTES RECEIVED
1

RANK
 of 20,933

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,262

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 3

View badges

Feeds

View by

Question


How to align Xaxes for a 2x1 subplot with legends outside and one plot has 2 y-axes
Here is some sample code: figure; %set x limits xls = [1, 20]; %% SubPlot 1 %top plot subplot(2,1,1)...

8 years ago | 0 answers | 0

0

answers

Answered
Port Excel VBA "ActiveCell.SpecialCells(xlLastCell).Select" (ctrl-end) and "Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select" (ctrl-shift-end) to MATLAB using ActiveX Connection
I was able to figure it out. Once I have an active sheet selected, I can then do %get cell A1 getA1 = h.Activesheet.get(...

8 years ago | 0

| accepted

Question


Port Excel VBA "ActiveCell.SpecialCells(xlLastCell).Select" (ctrl-end) and "Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select" (ctrl-shift-end) to MATLAB using ActiveX Connection
I'm try to port over two VBA commands. The following example assumes that you fill in file_directory, file_name, and sheet_name ...

8 years ago | 1 answer | 0

1

answer

Question


How to cumulatively add consecutive ones between zeros in a logical vector
I have a vector that looks like x = [0 0 1 1 0 0 1 1 1 0 0 1] and am trying to obtain y = [0 0 1 2 0 0 1 2 3 0 0 ...

8 years ago | 1 answer | 0

1

answer

Question


Extract rectangular data from a non-rectangular file with header and convert to a structure of column vectors where field names are the second row of the rectangular data
I am trying to read a text file that has a header of varying length due to some options that can be turned on. Below the header ...

8 years ago | 1 answer | 0

1

answer

Question


How to remove sets of values from a column vector using two column vectors with the starting and stopping indeces for removal by row
Let's say that I have a column vector, x x = (1:10)' and two column vectors with the starting and stopping indeces, x_st...

9 years ago | 1 answer | 0

1

answer

Question


How to Apply Logical Indexing and Then a Subscript to a Vector in One Line of Code
Let's say I have a vector a=(linspace(1,10,10))'; And a set of logicals to shrink this vector b=logical(zeros(10,1)...

10 years ago | 1 answer | 0

1

answer

Question


How to Add a Marker (say an asterisk) to a Hist3 Plot
I am trying to add asterisks to my histograms to mark various important points. Currently, I use the following code for my hist...

10 years ago | 0 answers | 1

0

answers

Question


How to Obtain the Indeces of the Minimum Value of Each Row in a Matrix and then Apply These Indeces to a New Matrix of the Same Size
Say I have the following matrices: x = [3 4; 1 3; 2 5; 7 4]; y = [1 2; 3 4; 5 6; 7 8]; If I want the minimum values b...

10 years ago | 2 answers | 0

2

answers

Answered
How to make a histogram using accumarray and surf with decimal values on the axes?
Using hist3 appears to be the way to go for my problem. X=[vec1 vec2]; hist3(X,{2:0.1:4 -0.135:0.01:0.145}) set(gcf,'...

11 years ago | 0

| accepted

Question


How to make a histogram using accumarray and surf with decimal values on the axes?
I have some code: #My data vec1=...; vec2=...; #Interpolation points intptsvec1=linspace(2,4,21); intptsvec2=l...

11 years ago | 2 answers | 0

2

answers