Feeds
提问
Different result when adding variables
This is in MATLAB R2016a. The addition 1:3 + [0 0 5] gives 1 2 3 if we assign x = 1:3; and y = [...
8 years 前 | 1 个回答 | 0
1
个回答提问
Anonymous functions and integration
I want to integrate an anonymous function but be able to manipulate it first. For example f = @(x) [x -x sin(x)]; r = ...
11 years 前 | 2 个回答 | 0
2
个回答提问
Intersection of squares with curve
Say that you have a collection of squares in 2D, defined by their corner points (A,B,C,D) and having a unique identifying number...
11 years 前 | 1 个回答 | 0
1
个回答提问
How to calculate sum of specific array elements
Let's say you have two arrays of the same size: one with the data (x) and one carrying some indices that characterize the data (...
12 years 前 | 1 个回答 | 0