Community Profile

photo

Pietro Fiondella


Last seen: más de 1 año hace Con actividad desde 2021

Estadísticas

All
  • Solver
  • Thankful Level 3

Ver insignias

Content Feed

Ver por

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 1 año 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 1 año 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 you n...

más de 1 año hace

Resuelto


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

más de 1 año hace

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

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

1

respuesta