photo

Barbara Margolius


Last seen: etwa 2 Monate vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 2
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

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

7 Monate vor | 0

Frage


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

7 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


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.

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor