Frage


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

mehr als 3 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 2

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

mehr als 3 Jahre vor | 1

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

mehr als 3 Jahre vor | 3

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 1

0

Antworten

Beantwortet
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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 2

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 3 Jahre vor | 1

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

etwa 4 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 1

1

Antwort

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Mehr laden