Community Profile # Pietro Fiondella

Last seen: Today Active since 2021

#### Statistics

All
• • #### Content Feed

View by

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

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

5 giorni 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 you n...

5 giorni ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 giorni ago

Question

Wich is the logic for change font and background color in Appdesigner?
Every time that i wan to cange some for font color or background, for an edit field or button there's alwasy some other element...

20 giorni ago | 0 answers | 0

### 0

Question

How to re-center a panel after the resize of the App?.
I have an figure in the center of a panel of my app. When the page is full screen there is the possibiity to increase all the c...

20 giorni ago | 0 answers | 0

### 0

Question

How may i fit the app developed in app designer in my window?
I created an app on a different computer with a greater screen , now i am tring to run it on my PC but once open it never resiz...

25 giorni ago | 2 answers | 0

### 2

Question

Is it possible to set a vector as an users input'
I want to obtain a vector as an input whit some value for each month of the year. So i did this way while true %January...

27 giorni ago | 1 answer | 0

### 1

Question

How can I easily extract element from a big matrix?
I have a bigg matrix [365x24] whic represtens a specific property for each hour and day of the year. It can be read like this: ...

27 giorni ago | 1 answer | 0

### 1

Question

Problem with function output Problem with function output
I have this function that gives me as result a vector that has NaN element while i expect numerical values what i did wrong? th...

29 giorni ago | 1 answer | 0

### 1

Question

How can i extrat some value by a plot?
I have 2 vectors forming a plot MA=[0.763 0.724 0.822 0.839 0.957 1.000 0.963 0.911 0.583 0.480 0.424 0.490]; Month=[1 2 3 4 5...

30 giorni ago | 1 answer | 0

### 1

Question

Bar graph and "stacked" options.
I would like to obtain a bar graph with olnly some data showed as stacked. For example consider this script. A=[1 2 3; 2 5 3; ...

circa un mese ago | 1 answer | 0

### 1

Question

Problem with "if" command
I want to remane and reassigne some variable according 2 different cases For example consider this script: %In my script PBtim...

circa un mese ago | 2 answers | 0

### 2

Question

Problem with custom function
I have write this function function BESSsize = Bsize(x,y,z) if 0.8*z >=x+y Bsize=(x+y)*0.8/365 elseif 0.5*x+y<= z <0.8*x+y ...

circa un mese ago | 2 answers | 0

### 2

Question

How can i find the areas under single parts of a plot?
I have this vector P wich represent the istant power used by a certain load in 24 h. I would like to obtain a vector a vector ...

circa un mese ago | 1 answer | 0

### 1

Question

How may i resize a promt window?
prompt = {'Enter matrix size:','Enter colormap name:'}; dlgtitle = 'INPUT'; dims = [1 35]; definput = {'20','hsv'}; opts.Res...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How to find the zero vaue of a plot?
I have 2 vetors X ,Y plotted Y vs X. The plot it's made by 2 differrent straight line. I would like to find the "zero- value" ...

circa 2 mesi ago | 1 answer | 0

### 1

Question

Is it possible to obtain both line and bars on the same graph?
I have these vectors Years, A,B i would like to obtain a single graph with both bar(Years,B) and plot(Years,A). How can i do th...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How can I name the x-axis elements on a plot?
I would like to obtain a vector that summarize a certain quantity over all the months. I want to obtain the name of each month ...

circa 2 mesi ago | 1 answer | 0

### 1

Question

Is it possible to group some strings of code, in order to shorten the visualization of the script?
I would like to goup some strings of code and be able to open and close the group for a better visualization. For example the '...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How can i manage a wrong input, whitout restart the my script ?
I'm writing a script that works whit many input that have to be typed chosing from different possile case. How can i re-load t...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How can i determine the area below a plotted graph?
I have plot the rows of a matrix A[7x24] and a matrix B[7x24] in respect to a vector C[1x24] I would like to find a vector D1 w...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How to obtain a matrix from the iterations of a for loop?
I woud like to obtain a matrix C[84x24] with every row filled, by the moltiplication between each row af a Matrix A[7x24] by ea...

circa 2 mesi ago | 1 answer | 0

### 1

Question

How can I transfer the results of a four-cycle iteration into a matrix with a row for each iteration?
Here is an example of my problem: I have a Matrix- A (1x24) A[a1,1 a1,2 a1,3 ... a1,24 ], & a vector B[b1,1 b1,2 b1,3 ...b1,7] ...

circa 2 mesi ago | 1 answer | 0