Question


Error displaying custom Data Tips
I've created a callback to displaying Data Tips on a pointcloud (pcshow) after the space bar is pressed. The flow is: Press on ...

ungefär 3 år ago | 0 answers | 1

0

answers

Question


Add image on pcshow plot
Is it possibile to add an image on a pcshow image (tab of images, in my case)? I'm using this but it does not work: How to Plac...

ungefär 3 år ago | 1 answer | 1

1

answer

Answered
how to create a matrix in matlab?
Your question is not clear. If you have those 3 arrays: L12 = [0 0 0 0 1 1 1 1]; L13 = [0 0 1 1 0 0 1 1]; L23 = [0 1 0 1...

ungefär 3 år ago | 1

| accepted

Answered
Extract data below a curve
Your input data is something like that: % Hypotesis: black points do not overlay the grid (can lay in between blue points) A =...

mer än 3 år ago | 2

Answered
Reverse data set as the example
I don't get the question as well. What result do you expect on the following arrays: X = [2 4 8 4 2 56 78]; Y= [2 2 4 11 75...

mer än 3 år ago | 1

Answered
How do I make different groups within a matrix?
How do you need to get arrays associated? Try this: clear all close all x= (50)*rand(50,1); y= (50)*rand(50,1); z= (50)...

mer än 3 år ago | 3

| accepted

Answered
How to set the color in a for loop for a plot within the for loop with an if statement?
I don't get very well what you are asking for. You need to color t between 1 and 5 AND e between 1 and 5 in black, otherwise t b...

mer än 3 år ago | 1

| accepted

Question


Position group docked figures proportional to screen size (javaframe)
Hi! I docked 7 figures within a group (javaframe?). I can't define a position for the whole group. Could you help me? I followed...

mer än 3 år ago | 0 answers | 1

0

answers

Answered
Compare two datasets of different units
You could just plot them in one figure with two axes: Create Chart with Two y-Axes - MATLAB & Simulink - MathWorks Italia

mer än 3 år ago | 1

| accepted

Answered
List the 10% highest values of a distribution
Change the last part: [Ms, idx] = sort(x,'descend'); % Sort Descending Result = Ms(1:ceil(length(Ms)*...

mer än 3 år ago | 2

Question


How delete panel in app design
Hi! Maybe this is a trivial question but I can't figure it out. How can I delete a panel in the APP DESIGN? It is an empty panel...

mer än 3 år ago | 1 answer | 1

1

answer

Answered
saveas won't save my figure when in a for cycle
Something like this within each loop? FolderName='path to save your figures here' FigList = findobj('Type', 'figure'); for iF...

mer än 3 år ago | 1

Question


How use pcshow in GUI
Hi you all! I would need to use pcshow in a GUI (app design). I tried something like this: p=pcshow(app.UIAxes, [ptCloud.verte...

mer än 3 år ago | 1 answer | 1

1

answer

Question


progress bar in app design (GUI)
Hi! I need to create a progress bar like the following bar with the APP DESIGN: New in r2020a: App button animation & truecolo...

mer än 3 år ago | 1 answer | 2

1

answer

Question


Change label color of the "Edit field (Numeric) element in App Designer
Hi! I am creating a GUI with the APP DESIGN. I would like to change the color of the Label associated to the "Edif field (Nume...

mer än 3 år ago | 1 answer | 1

1

answer

Question


Reduce string length after check, with one line
Hello! I would like to reduce a string length after a check on the length itself, with one command. Is it possible? Something l...

nästan 4 år ago | 1 answer | 1

1

answer

Question


Classification (machine learning)
Good morning. I need to implement a classification algorithm: I have several time series and I need to recognize the trend. For...

ungefär 4 år ago | 1 answer | 1

1

answer

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

mer än 4 år ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 4 år ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mer än 4 år ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

mer än 4 år ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än 4 år ago

Solved


7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...

mer än 4 år ago

Solved


Test if a Number is a Palindrome without using any String Operations
*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

mer än 4 år 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...

mer än 4 år ago

Solved


Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

mer än 4 år ago

Solved


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

mer än 4 år ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

mer än 4 år ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

mer än 4 år ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

mer än 4 år ago

Load more