Pietro Fiondella
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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...
2년 초과 전
문제를 풀었습니다
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...
2년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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: ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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; ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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 ...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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 ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How may i resize a promt window?
prompt = {'Enter matrix size:','Enter colormap name:'}; dlgtitle = 'INPUT'; dims = [1 35]; definput = {'20','hsv'}; opts.Res...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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" ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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)...
대략 3년 전 | 답변 수: 1 | 0