Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

3 months ago

Answered

ESP NOW provided sensor datas to ESP32 and Matlab serial communication

You can only update every 15 seconds with a free license, but you can use the bulk update endpoint to get a higher density of po...

ESP NOW provided sensor datas to ESP32 and Matlab serial communication

You can only update every 15 seconds with a free license, but you can use the bulk update endpoint to get a higher density of po...

3 months ago | 1

| accepted

Answered

ESP NOW provided sensor datas to ESP32 and Matlab serial communication

Are you able to run a WiFi client at the same time as the ESP NOW? You could connect to a WiFi network to send the values to T...

ESP NOW provided sensor datas to ESP32 and Matlab serial communication

Are you able to run a WiFi client at the same time as the ESP NOW? You could connect to a WiFi network to send the values to T...

3 months ago | 0

Solved

What is the distance from point P(x,y) to the line Ax + By + C = 0?

Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

3 months ago

Solved

Sum of series II

What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

3 months ago

Solved

Calendar Matrix

Return a calendar matrix for the given values of month and year. Assume that Sunday is the first day of the week. The resulting ...

3 months ago

Solved

Approximation of Pi

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

3 months ago

Solved

Sum of series I

What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

3 months ago

Answered

Dynamic data display in ThingSpeak dashboard

There is a plugin app in ThingSpeak that you could use to crate a javascript app with a dropdown menu (I suspect, though I haven...

Dynamic data display in ThingSpeak dashboard

There is a plugin app in ThingSpeak that you could use to crate a javascript app with a dropdown menu (I suspect, though I haven...

3 months ago | 0

| accepted

Solved

Predict Cricket Stridulation Rate from Air Temperature

Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 months ago

Solved

Find Air Temperature from Cricket Stridulation Rate

Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 months ago

Answered

Project Image on a Mesh

You can use the same arguments used to create the mesh to create the warped surface, then plot the mesh and hold the plot while ...

Project Image on a Mesh

You can use the same arguments used to create the mesh to create the warped surface, then plot the mesh and hold the plot while ...

3 months ago | 0

Answered

My ThingSpeak doesn't receive particular data regularly

Now I see the issue. You should send one update to ThingSpeak instead of building them seperately for each field. You care act...

My ThingSpeak doesn't receive particular data regularly

Now I see the issue. You should send one update to ThingSpeak instead of building them seperately for each field. You care act...

3 months ago | 0

| accepted

Solved

Find the sides of an isosceles triangle when given its area and height from its base to apex

Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

3 months ago

Answered

How to partially delete data in ThingSpeak channel?

A ThingSpeak channel is supposed to act a bit like a lab notebook. As such, specific deletion has been passed in favor of other...

How to partially delete data in ThingSpeak channel?

A ThingSpeak channel is supposed to act a bit like a lab notebook. As such, specific deletion has been passed in favor of other...

3 months ago | 0

Answered

My ThingSpeak doesn't receive particular data regularly

Do you have a paid thingSpeak license? The update rate for the free account is only once per 15 seconds. If you have a free ac...

My ThingSpeak doesn't receive particular data regularly

Do you have a paid thingSpeak license? The update rate for the free account is only once per 15 seconds. If you have a free ac...

3 months ago | 0

Solved

Height of a right-angled triangle

Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

4 months ago

Solved

Can we make a triangle?

Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

4 months ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

4 months ago

Solved

Pi Estimate 1

Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

4 months ago

Solved

radius of a spherical planet

You just measured its surface area, that is the input.

4 months ago

Solved

Calculate area of sector

A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

4 months ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

4 months ago

Solved

intersection of matrices

Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identic...

4 months ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

4 months ago

Solved

Return unique values without sorting

If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

4 months ago

Solved

Generate N equally spaced intervals between -L and L

Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

4 months ago

Answered

I want to display negative temperature on channel view

Here are a few ways to get negative numbers into ThingSpeak or to plot them in MATLAB. https://api.thingspeak.com/update?api_ke...

I want to display negative temperature on channel view

Here are a few ways to get negative numbers into ThingSpeak or to plot them in MATLAB. https://api.thingspeak.com/update?api_ke...

4 months ago | 0

Solved

Getting the indices from a matrix

Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

4 months ago

Answered

Is thingspeak free version account expire after one year

See the licensing FAQ. Free ThingSpeak licenses will renew yearly in the month you created the license assuming you meet the log...

Is thingspeak free version account expire after one year

See the licensing FAQ. Free ThingSpeak licenses will renew yearly in the month you created the license assuming you meet the log...

4 months ago | 0