Community Profile

photo

Bob Thompson


Last seen: 3日 前
410 2016 年以降の合計貢献数

Bob Thompson's バッジ

  • Thankful Level 3
  • 24 Month Streak
  • Knowledgeable Level 4
  • Pro
  • Solver
  • Revival Level 2
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Combine rows and average contents in table
I'm not sure how you're defining the time time ranges but here's some psuedo code that I thought about for the rest of the proce...

4日 前 | 0

質問


Why does dir command find files not following pattern in Windows?
I have series of files that I am trying to pick up with a dir command. I'm able to get the files, but I'm also picking up one ex...

5日 前 | 1 件の回答 | 0

1

回答

回答済み
For loop indexing problem
Part of the problem is that you're trying to push a 749x2 matrix into an array of 749x1 size (BMactive(:,jj) only calls one colu...

10日 前 | 1

| 採用済み

回答済み
easy indexing lon-loop versus loop
I think the issue is with your loop definition. You define y1 to be length(x)+M1 long, but n is defined from M1+1 to length(x). ...

13日 前 | 0

質問


Interpolating non-independent values
I'm not really sure how to ask this in a concise enough way to find it elsewhere, so I'm just going to ask a new question. I ha...

13日 前 | 2 件の回答 | 1

2

回答

回答済み
Creating Several Data Sheets
If you want to performa the reorganization with MATLAB here is an outline of one possible process to do so. 1) Read that three ...

17日 前 | 0

回答済み
Counting variables, and getting last column of matrix within specific criteria
I'm not sure I entirely understand the issue with 6.9418. Are you saying you only want 6.9418 as the magnitude, even though you ...

17日 前 | 1

| 採用済み

質問


Linux vs Windows system commands
This may not be the forum for this, I can remove the question if it's not, but I have a script that runs a series of system comm...

18日 前 | 1 件の回答 | 0

1

回答

質問


array2table won't accept variable name input
I am attempting to turn an array into a table before I output it into a file, and I am running into an error when I attempt to t...

18日 前 | 2 件の回答 | 0

2

回答

質問


Looking for an alternative to regexp.
I'm looking for an alternative way to parse through strings to find bits of information, or for a way to use regexp that doesn't...

19日 前 | 2 件の回答 | 0

2

回答

質問


Debugger not stopping on marker
I have a short code that I have put a debug marker in, before running it, but when it gets run the code moves past the marker an...

26日 前 | 1 件の回答 | 0

1

回答

回答済み
Terminating a game of tic tac toe if two entries are entered in the same cell
John has a pretty good idea with that. If you put in a logic check and a loop, you don't even need to actually quit the game, j...

27日 前 | 0

| 採用済み

回答済み
save matrices from loop
I could be wrong, but it seems like you just need to index flow. vidReader = VideoReader('Tennis Ball.avi'); % Read the Video ...

27日 前 | 0

| 採用済み

回答済み
help with Tic Tac toe
Hmm, maybe I spoke too soon on the centering. Size can be set by adding a 'name,value' pair to the text command. text(x,y,play...

27日 前 | 0

| 採用済み

質問


dlmwrite does not append to file
I am writing headers and data to a text file, and I am able to write the headers using fprintf, so I know my filepath is correct...

30日 前 | 1 件の回答 | 0

1

回答

回答済み
Access matrix values inside of a function
I believe this is the purpose of global variables, but I could be wrong. I don't really use them much.

約1ヶ月 前 | 0

| 採用済み

回答済み
How to average each row from two indivisual comlum vectors?
The mean command has an option to average in a specific dimension. A = [1 4; 2 3; 3 2; 4 1]; B = mean(A,2);

約1ヶ月 前 | 0

回答済み
Changing work space values
To change values for existing variables, you can define the new values for the variable in the command line, write/edit a script...

約1ヶ月 前 | 0

回答済み
How to pick files from sub-folder
I recommend using dir to capture all the contents of your parent folder within a variable. Then you can use the contents of that...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I allow the user to choose what to do?
Some basic ways to get input from the user include commands such as uigetfile, uigetdir, and input. I recommend the last, couple...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I use loop to produce multiple graphs?
If you want individual graphs, add the following inside the loop, before the yyaxis command: ... figure(i) yyaxis left ... ...

約1ヶ月 前 | 0

回答済み
Close actxserver file after deleting variables
For the record, I never did find a way to do this, instead I put a bit of code at the beginning of my script to look for an open...

約2ヶ月 前 | 0

| 採用済み

回答済み
How to pull specific data from multiple excel sheets into a single table
Reading excel files in with MATLAB can be done in a couple of different ways. First is xlsread, which might be the most applicab...

約2ヶ月 前 | 0

回答済み
How to remove rows or Cols in MATLAB?
You can remove a section of an array in MATLAB by redefining the array without that specified section. For your example, of you ...

約2ヶ月 前 | 1

回答済み
Loop through a list of excel file names in a folder
I recommend something like dir for automatic retrieval. Should be able to set it to find excel files only. pathname = 'yourfile...

約2ヶ月 前 | 0

回答済み
Interpolating missing values according to time vector
I don't know if there is a single command that would do what you're asking, though others might know of one. A fairly concise w...

約2ヶ月 前 | 1

回答済み
Interpolate value of point
I'm assuming you have the data for the surface points. If so, I believe interp2 will do what you're asking.

2ヶ月 前 | 0

| 採用済み

質問


Close actxserver file after deleting variables
I have a script that opens an excel workbook in the actxserver so it can create plots for some data. I have been modifying the c...

2ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Using for loops in order to find average of matrix
You can use mean to average all values in a certain direction. mu = 2; SD = 3; m = 1000; n = 100000; random_matrix = randn(...

2ヶ月 前 | 1

| 採用済み

回答済み
Plotting for a Loop
Each time you run the plot command you're only plotting a single point, which doesn't work very well with plot. I recommend y...

2ヶ月 前 | 0

| 採用済み

Load more