Answered
how to find change point in humidity where infections rise
As the person who answered the linked question, this seems different to me. That question revolves around a broken stick regress...

8 years ago | 0

Answered
Matlab is giving me an unwanted ans = output, even with semicolons
You have not answered HOW you call the function. That is actually quite important. For example, if you call it like this: ...

8 years ago | 1

| accepted

Answered
A 2D slice of a 3D point cloud or see if a point is in a boundary
You should understand that a Delaunay triangulation will have a convex result? The outer boundary of a delaunay triangulation is...

9 years ago | 1

Answered
How to fill cell array with random numbers without for loop?
Sure. No loops are needed. You can do this in one line if you want, although I often suggest splitting long lines up into smalle...

9 years ago | 0

Answered
Reduce processing time for the simulation
Sorry, but this is just godawful code. Hey, don't hate the messenger. :) I know that it takes time to improve coding skills. B...

9 years ago | 0

| accepted

Answered
How to construct cubic splines?
Do you have the curve fitting toolbox? CSAPE is part of that TB. (It used to be in the splines TB but that got merged into the c...

9 years ago | 0

| accepted

Answered
RBF network not generalizing well
I'm not an expert in neural nets, so I cannot offer specific advice about the NN tools in MATLAB. However, I am an expert on mod...

9 years ago | 1

Answered
If there is a method to define the size of unknown vector x rather than this ???
x = sym('x',[27,1]);

9 years ago | 1

| accepted

Answered
what is the difference between MATLAB 2013 and 2016?
There are many differences, too many to list them all here, and many of them will be totally unimportant for you since they may ...

9 years ago | 1

Answered
Matrix inversion using "pinv" or any other technique
The answer to this question is to take a recent course on numerical linear algebra. Literally so. OR, do a lot of reading, becau...

9 years ago | 3

| accepted

Solved


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

9 years ago

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

9 years ago

Solved


Volume of a Simplex
Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

9 years ago

Solved


Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...

9 years ago

Solved


Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

9 years ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

9 years ago

Answered
Linear Regression with Y as your Dependent Variable
xe=[0 .02 .05 .1 .2 .3 .4 .5 .6 .7 .8 .9 .94 .96 .98 1]; ye=[0 .192 .377 .527 .656 .713 .746 .771 .794 .822 .858 .912 .942 ...

9 years ago | 1

Answered
Can I buy additional toolboxes of an earlier version.
I'm not sure what your question is. You have a valid license for R2015b. However, you said two things that seem a bit inconsiste...

9 years ago | 1

Answered
Convert an ODE to algebraic equations
It has been a while since I used these methods, so I will not go that deeply into the answer. But there are multiple ways to sol...

9 years ago | 1

| accepted

Solved


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

9 years ago

Solved


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

9 years ago

Solved


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

9 years ago

Solved


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

9 years ago

Answered
how can split image to 4 parts using "reshape" or using another way?
Why not try something? That is how you will learn. A = rand(10,10) A = 0.93614 0.13657 0.90563 ...

9 years ago | 0

Answered
Deactivation switch for implicit expansion
I believe it is not possible to disable the expansion. Personally, I like having it, just that people don't like change. There i...

9 years ago | 3

| accepted

Answered
How to find inflection point, PLEASE HELP!
Um, I think you need to look CAREFULLY at the data you have. Then think carefully about what you need. An inflection point is...

9 years ago | 1

Answered
Unable to define ScatteredInterpolant function v
v IS the 4th column, thus temperature. The other variables are your independent variables. So essentially, scattered inter...

9 years ago | 0

| accepted

Answered
Generating two classes of points
Why would rand or randn NOT be of use here? For example, what do you know about a bivariate random sample? How far out can yo...

9 years ago | 0

| accepted

Answered
How to interpolate data points in 3 directions with non unique grid coordinates
Scattered data interpolation is the case where your data points are randomly scattered, not on some regular lattice. Interp3 ...

9 years ago | 1

| accepted

Answered
Hello everyone! I need your valuable help here.
April = 4; Sept = 9; S = size(mat); seasons = reshape(mat,[12 14 12 30]); seasons = seasons(:,:,April:Sept,:); ...

9 years ago | 4

| accepted

Load more