photo

James


University of Rochester

自 2013 起处于活动状态

Followers: 0   Following: 0

消息

统计学

All
  • Thankful Level 3
  • Solver

查看徽章

Feeds

排序方式:

提问


Summing elements of a vector sequentially?
Is there a function that will sum a vector in the following way? Let x be a 1 x N vector. The ith element of the output vecto...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Simple way to outline perimeter of grid using indexing.
Given, say, a 4 by 4 grid, is there an easy way to outline various contiguous subsets of the grid? In other words, if I sta...

9 years 前 | 1 个回答 | 0

1

个回答

已回答
Using sscanf (or equivalent) to extract double from string.
Well, this seems to work. Elegance is overrated, right? aha name = '2.3A 4B C'; letterIndex = regexp(name,'[A-Z]'); ...

9 years 前 | 0

提问


Using sscanf (or equivalent) to extract double from string.
Let's say I have a string as follows: string = '2.3A 4B C' I want to apply a function that will output the following: ...

9 years 前 | 2 个回答 | 0

2

个回答

提问


Trouble with function using variable inputs.
Hello, I am fairly new to Matlab and am having a little difficulty using the "varargin" statement. I am trying to create a fu...

10 years 前 | 1 个回答 | 0

1

个回答

提问


How to make certain elements of a matrix equal to one?
For example, if I had: x = zeros(1,100) and I wanted to make the 3rd, 5th, 67th, and 93rd element equal to one, how could ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Is there an equivalent function to the "kron(x,y)" that uses subtraction as its operation rather than multiplication?
For example, say we have two matrices as follows: >> A = [1 2;3 4] A = 1 2 3 4 ...

11 years 前 | 3 个回答 | 0

3

个回答

提问


How to use a loop to calculate m*n values for an mxn matrix?
I have two matrices, both approximately 100x100, call them A and B. I am trying to multiply every element of matrix A by every ...

11 years 前 | 2 个回答 | 0

2

个回答