Question

Efficient indexing of bounded matrices without for loop

Hi there, I have a matrix of tide data at irregular sub-minute intervals that includes time and water level heights (gMedt). ...

3 years ago | 1 answer | 0

Question

RGB color value of plotyy purple bars

I went to this page to determine how to overlay a line plot on top of a bar plot with multiple y-axes: http://www.mathworks.c...

4 years ago | 2 answers | 0

Question

CELL2MAT error in version 2015a

I'm currently using a modified version of the ginput2.m function from the code exchange but I'm recieving the following error wh...

4 years ago | 2 answers | 0

Question

Simplify large for loop running average.

I'm looking to perform a running average of a height dataset based on conditional time criteria. First I'm trying to find the...

4 years ago | 1 answer | 0

Question

Open tool in Guide GUI app won't run uigetfile

I've compiled an application for Matlab that, when run and the open tool is selected from the toolbar, is supposed to directthe ...

4 years ago | 0 answers | 0

Question

Image resize in GUIDE GUI

I've been using a gui to analyze some images that get loaded into the gui axes. All of the images are photographs taken from the...

4 years ago | 1 answer | 0

Question

Sinusoidal fit with fixed points

Is there a way to fit a sine curve to some data points but hold some of the fitted points at known locations? I'm trying to hold...

4 years ago | 1 answer | 0

Question

Sinusoidal Fit with some points fixed

I'm doing some image processing of some tidal lines that I'm trying to digitize from photographs. The digitization is heavily de...

4 years ago | 0 answers | 0

Question

Legend behind Axes and Axes Objects

I have a figure with two subplots, both with a legend each, however, the second legend looks like it's stuck behind the second s...

4 years ago | 1 answer | 1

Question

Brush error within multiple function gui

I'm getting the following error when trying to run the function brush 'on' in a function being called by another function being ...

5 years ago | 0 answers | 0

Question

Image auto-resize in Guide Gui

Hello, I have been trying to create an application with GUIDE that has a single axes. So far, I haven't programmed the axes t...

5 years ago | 0 answers | 0

Question

Contourf NaNs plotted as zeros

I couldn't find anything concerning this issue already on the forums but here is the problem I am having. The code is attempting...

5 years ago | 0 answers | 0

Question

lsqcurvefit and anonymous function error

I'm trying to use lsqcurvefit with an anonymous function within the script to determine the best fit for a hyperbolic tangent fu...

5 years ago | 1 answer | 0

Question

pcolor video for loop with mask

Hi, I'm trying to create a video time series of some map data using pcolor defined by some colormap and a black mask. The dat...

5 years ago | 0 answers | 0

Question

Unexpected matlab operator Covariance

I'm trying to calculate the the covariance of a set of data using stats::covariance but I keep getting an error message saying '...

6 years ago | 1 answer | 0

Question

fprintf row indentation export

I'm having trouble correctly exporting a custom text file I need. When I use fprintf within a for loop, I am getting strange for...

6 years ago | 1 answer | 0

Question

Delaunay Triangulation Spatial Search

I'm trying to perform a spatial search between two datasets that have the same coordinate system but are sampled at different in...

6 years ago | 1 answer | 0

Question

Axes objects order - multiple plot types

I'm trying to plot different axes objects in a particular order. I have multiple plots that are overlayed on top of one another ...

6 years ago | 0 answers | 0

Question

XTick Visibility off with XTickLabel showing

Is there a way to specify the XTick property without showing the actual tick so that I can have labels at the XTick locations on...

6 years ago | 1 answer | 0

Question

Different colors for axes tick label and axes ticks

Is there a way to set the tick marks and axis lines as white but keep the tick labels as black. I'm using the quiverc function f...

6 years ago | 1 answer | 0

Question

Ttest problem with alpha

So I'm trying to run a one-sample test so that I can determine the confidence intervals at one standard deviation away. However ...

6 years ago | 1 answer | 0

Question

Grouping Plot and Fill in Same legend object

I have two plots of some mean value (hh) and two fill (he) plots of the confidence intervals for the associated mean values. I w...

6 years ago | 1 answer | 0

Question

Single object in legend of plot and patch or fill

I would like to create a legend for a figure that displays a line and the errorbars or a patch in a single legend object (i.e. w...

6 years ago | 0 answers | 0

Question

Plot legend with multiple fitresult curves

I fitted three separate Gaussian curves to my x and y data using the 'Generate Code' option in the Curve fit toolbox. I then cop...

6 years ago | 2 answers | 0

Question

Multidimensional Polynomial Root Finding

I am trying to write a program to solve for the roots (x) of a 4th order polynomial of the form: ax^4 + bx^3 + cx^2 + dx + ...

7 years ago | 1 answer | 0