Community Profile

photo

Pietro Fiondella


Last seen: 2 days ago Active since 2021

Statistics

All
  • Solver
  • Thankful Level 3

View badges

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

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

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

2 days 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:...

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

16 days ago | 0 answers | 0

0

answers

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

16 days ago | 0 answers | 0

0

answers

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

22 days ago | 2 answers | 0

2

answers

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

23 days ago | 1 answer | 0

1

answer

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

24 days ago | 1 answer | 0

1

answer

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

25 days ago | 1 answer | 0

1

answer

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

26 days ago | 1 answer | 0

1

answer

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

1 month ago | 1 answer | 0

1

answer

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

1 month ago | 2 answers | 0

2

answers

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

1 month ago | 2 answers | 0

2

answers

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

1 month ago | 1 answer | 0

1

answer

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

1 month ago | 1 answer | 0

1

answer

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

1 month ago | 1 answer | 0

1

answer

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

1 month ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

Question


How to use Simscape to solve heat conduction equation?
Hi everybody. I want to model an heat coduction problem given the temperature distribution in time on one side of the wall T(t)...

10 months ago | 1 answer | 0

1

answer