photo

Barbara Margolius


Last seen: 1 month ago Active since 2021

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

5 Questions
2 Answers

Cody

0 Problems
3 Solutions

RANK
114,555
of 299,390

REPUTATION
0

CONTRIBUTIONS
5 Questions
2 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 20,699

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
76,017
of 164,320

CONTRIBUTIONS
0 Problems
3 Solutions

SCORE
40

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Solver

View badges

Feeds

View by

Answered
defining function which generates 3d array within a class. Different behavior in class versus command window
I have a matrix function that is periodic. I need to use it in two ways: as a building block for an infinitesimal generator wi...

1 month ago | 0

| accepted

Question


defining function which generates 3d array within a class. Different behavior in class versus command window
This code: lam = @(t) 3*(1 + 0.8*cos(2*pi*t)); A1 = @(t) reshape([lam(t(:).'); lam(t(:).'); zeros(1, numel(t)); lam(t(:).')]...

2 months ago | 1 answer | 0

1

answer

Answered
I run the code below and expect to get a uniform histogram. It's not. I don't understand why not.
in answer to my own question, I can define bin_edges=-0.005:.01:.995; and then hh=histogram(fractime, bin_edges); and the re...

1 year ago | 0

Question


I run the code below and expect to get a uniform histogram. It's not. I don't understand why not.
% I have a two column array, the first column is time and the second column is state. I ran interp1 to observe my data at unifo...

1 year ago | 2 answers | 0

2

answers

Question


define a function in terms of an integral with variable limits
I have defined a function of two variables, say f(u,t), and would like to define a function g(t)=@(t)integral(f(u,t),u,[t-1,t])....

2 years ago | 1 answer | 0

1

answer

Question


adding counts of ordered pairs
I have a sequence of by 3 arrays, say , , , that are generated within a loop. That is, the number of rows of each array varie...

3 years ago | 2 answers | 0

2

answers

Question


accessing single function from an array of functions
I have defined a matrix of functions: a=@(t) (1+0.8*sin(2*pi*t)); b=@(t) .8*(1-0.8*sin(2*pi*t)); z = @(t) 0*t; %...

3 years ago | 2 answers | 0

2

answers

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 years ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago