Sam Smith
Followers: 0 Following: 0
Feeds
質問
Categorising coordinates into a table
Say I have cell column C of size (n,1), and in each entry are two row vectors A_i and B_i (for i=1,2,...,n) of the same length m...
約5年 前 | 1 件の回答 | 0
1
回答質問
Specifying the iteration range for 'for' loops
Say I have a matrix of size 5-by-5. I want to sum the elements in the rows, but I don't want to sum from the first column all th...
約5年 前 | 2 件の回答 | 0
2
回答質問
Get list of webpages with a certain URL
Is it possible to use Matlab to get a list of all webpages with a certain URL? Say I want all webpages that begin with https:/...
約5年 前 | 1 件の回答 | 0
1
回答質問
Interp1 on a cell array
I have a cell array that contains some numbers and empty spaces, say A=[ , ,4,5,6,7,,,8,,5, , ,] I want to interpolate A using...
5年以上 前 | 3 件の回答 | 0
3
回答質問
Looping through times, stop once I reach a certain number
I have a list of times in a column, in HH:MM:SS. I want to go through each of these times, after converting them to seconds, and...
5年以上 前 | 1 件の回答 | 0
1
回答質問
Sorting cell array containing alphanumeric text
I have a cell array, a column of which consists of alphanumeric text such as 3. Item 3 2. Item 4 5. Item 5 I want to sort th...
5年以上 前 | 1 件の回答 | 0
1
回答回答済み
List all and only files with no extension
I found that dir(foldername,'*.') works too.
List all and only files with no extension
I found that dir(foldername,'*.') works too.
5年以上 前 | 2
質問
Local functions. Appending results of looping to previous variable; creating separate variable for each loop.
I have a local function that returns two variables, say [icke,data]=localfunction(x). I am using a for loop to apply the local f...
5年以上 前 | 1 件の回答 | 0
1
回答質問
List all and only files with no extension
How do I list all files in a folder without any extension?
5年以上 前 | 3 件の回答 | 0
3
回答質問
Assigning matrix values using lists of 2-way coordinates
I have a set of 2-dimensional coordinates in [row, col]. I want to assign a value to a matrix for those coordinates. Say row=[5,...
5年以上 前 | 3 件の回答 | 0
3
回答質問
Changing a CSV file while keeping it readable by MATLAB
I have a CSV file (see attached) that I want to make alterations to, but I want to save it in the same format that it's already ...
5年以上 前 | 2 件の回答 | 0
2
回答質問
Extracting sub cell arrays from a cell array
Suppose I have a 10-by-1 cell array consisting of ten 1-by-7 cell arrays. How do I extract the sub cell arrays to get a 10-by-7 ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
Can .p files expire?
I tried to use a .p file, but it says "Program expired - contact author for renewal". Does this mean that it expired at a certai...
5年以上 前 | 1 件の回答 | 0
1
回答質問
mkdir with multiple subfolders that are variables
I want to create a subfolder with mkdir where the subfolder names are variables. As in sub='first' subsub='second' s...
5年以上 前 | 2 件の回答 | 0
2
回答質問
Referring to other variables in a variable
Say I have a variable that contains a string array: date='1 October 2018' I want to create a new variable containing that ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
Variables: set characteristics (weight, colour) for different objects without having to do all manually
I have a list of football teams, and certain characteristics about them, such as how many goals they have scored at home and awa...
5年以上 前 | 2 件の回答 | 0
2
回答質問
Matrix elements where row index higher than column index
I have a m by n matrix, say 10 by 10. I want to sum all the values where the row index is higher than the column index. So I wan...
5年以上 前 | 1 件の回答 | 0