Community Profile

photo

CAM


226 total contributions since 2012

Contact

CAM's Badges

  • Revival Level 1
  • Knowledgeable Level 1
  • Introduction to MATLAB Master
  • Community Group Solver
  • Thankful Level 1
  • First Answer
  • Tiles Challenge Master
  • CUP Challenge Master
  • Commenter
  • Solver

View details...

Contributions in
View by

Answered
I can not modify data in a table
Have you considered using appdata instead of guidata? In this matlab answer (Appdata answer with link), there is a link to a gr...

3 days ago | 0

Solved


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

3 days ago

Solved


Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

6 days ago

Answered
Script for deleting extra rows
Try this to remove rows with blank Depths: [~,~,dataIn] = xlsread(fileName, worksheetName); index = ~cellfun(@isempty, dataIn(...

11 days ago | 0

| accepted

Solved


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

16 days ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

16 days 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(1) = 1 and F(1)...

17 days ago

Solved


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

24 days ago

Solved


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

24 days ago

Solved


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

24 days ago

Answered
Error with xlswrite (error 0x800A03EC)
Try xlsprotect from File Exchange. https://www.mathworks.com/matlabcentral/fileexchange/6046-xlsprotect It has worked well for...

24 days ago | 0

Answered
2019b installation problem
I had this same problem with 2018b and now again with 2019b. Last year, Matlab Support solved it with the following solution: ...

25 days ago | 5

Solved


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

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

26 days 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 identi...

26 days ago

Solved


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

26 days ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

1 month ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

1 month ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 month ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 month ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

1 month ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 month ago

Solved


Return area of square
Side of square=input=a Area=output=b

1 month ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1 month ago

Answered
impoly no longer animates the tracing line after placing other animated line objects
JK from the Matlab Support Team provided a solution. Before the origButtonMotionCB definition above, he suggested adding the fo...

2 months ago | 1

| accepted

Question


impoly no longer animates the tracing line after placing other animated line objects
Our users need to trace around a region on an image using impoly (closed = 0). In some cases they would like to start at a poin...

2 months ago | 1 answer | 0

1

answer

Answered
Trouble with impoly (open) misinterpreting mouse click
The users are running a compiled version of the application with Matlab runtime. I do not get the error on my development compu...

2 months ago | 0

Question


Trouble with impoly (open) misinterpreting mouse click
Our users need to find the area under a curve. We use impoly (open), and they trace the curve on an image. However they are ha...

3 months ago | 3 answers | 0

3

answers

Question


GUI (GUIDE) with images leaking memory
Matlab 2018b with GUIDE running on Win 7. I am programming a GUI that displays small image "thumbnails" from a directory in an ...

7 months ago | 0 answers | 0

0

answers

Question


How do I use WinOnTop for GUIs?
I have a main GUI with an axes object on which I display an image. Occasionally, the users need to calibrate distances on the i...

8 months ago | 1 answer | 0

1

answer

Load more