Community Profile

photo

Jim


Active since 2012

Statistics

All
  • Thankful Level 1
  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

View by

Question


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 = [...

ungefär 6 år ago | 1 answer | 0

1

answer

Answered
conversion of matrix into vector
Just |x(:)|

mer än 9 år ago | 0

Question


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 = ...

mer än 9 år ago | 2 answers | 0

2

answers

Question


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...

mer än 9 år ago | 1 answer | 0

1

answer

Question


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 (...

nästan 10 år ago | 1 answer | 0

1

answer