Pregunta

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

más de 3 años hace | 0 respuestas | 1

### 0

respuestas

Pregunta

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

más de 3 años hace | 1 respuesta | 1

### 1

respuesta

Respondida
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...

más de 3 años hace | 1

| aceptada

Respondida
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 =...

más de 3 años hace | 2

Respondida
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...

más de 3 años hace | 1

Respondida
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)...

más de 3 años hace | 3

| aceptada

Respondida
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...

más de 3 años hace | 1

| aceptada

Pregunta

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

más de 3 años hace | 0 respuestas | 1

### 0

respuestas

Respondida
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

más de 3 años hace | 1

| aceptada

Respondida
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)*...

más de 3 años hace | 2

Pregunta

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

más de 3 años hace | 1 respuesta | 1

### 1

respuesta

Respondida
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...

más de 3 años hace | 1

Pregunta

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

más de 3 años hace | 1 respuesta | 1

### 1

respuesta

Pregunta

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

más de 3 años hace | 1 respuesta | 2

### 1

respuesta

Pregunta

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

más de 3 años hace | 1 respuesta | 1

### 1

respuesta

Pregunta

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

alrededor de 4 años hace | 1 respuesta | 1

### 1

respuesta

Pregunta

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

más de 4 años hace | 1 respuesta | 1

### 1

respuesta

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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://...

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace

Resuelto

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

más de 4 años hace