Community Profile

photo

Jim


Active since 2012

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

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

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

1

answer

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

nästan 11 å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 = ...

ungefär 11 å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...

ungefär 11 å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 (...

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

1

answer