Antonio Hortal
Followers: 0 Following: 0
Feeds
질문
Accessing a property or method when inheriting from RedefinesDot
When inheriting from matlab.mixin.indexing.RedefinesDot, I have noticed that dot-indexed properties do not trigger the dotRefere...
8개월 전 | 답변 수: 1 | 0
1
답변답변 있음
Add a Javascript Widget to an App Designer App
The widgets you mentioned load up their JS code by inserting a <script> tag within their HTML that points to an URL. <script t...
Add a Javascript Widget to an App Designer App
The widgets you mentioned load up their JS code by inserting a <script> tag within their HTML that points to an URL. <script t...
1년 초과 전 | 1
| 수락됨
답변 있음
Creating a serialport as public variable
The issue is that your code is trying to validate the properties requiring them to be of the class next to them. When your app i...
Creating a serialport as public variable
The issue is that your code is trying to validate the properties requiring them to be of the class next to them. When your app i...
2년 초과 전 | 0
문제를 풀었습니다
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
2년 초과 전
답변 있음
Import Data from html-built UI to Matlab
Hi Jovelyn, I can recommend you to go through this article that explains how the "Data" property in the uihtml component lets yo...
Import Data from html-built UI to Matlab
Hi Jovelyn, I can recommend you to go through this article that explains how the "Data" property in the uihtml component lets yo...
2년 초과 전 | 0
| 수락됨
답변 있음
Matlab ignoring uihtml autofocus attribute in 2021b
One thing that you could do is to have an HTML event that requests focus on the input element whenever the startup function of t...
Matlab ignoring uihtml autofocus attribute in 2021b
One thing that you could do is to have an HTML event that requests focus on the input element whenever the startup function of t...
2년 초과 전 | 0
| 수락됨
답변 있음
Fixing quirk in uihtml + JavaScript implementation of "command line" with command history
Hi! I am definitely not a JavaScript expert, but I can try to answer :P In your HTML script you are listening for the <input>...
Fixing quirk in uihtml + JavaScript implementation of "command line" with command history
Hi! I am definitely not a JavaScript expert, but I can try to answer :P In your HTML script you are listening for the <input>...
2년 초과 전 | 0
문제를 풀었습니다
Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...
2년 초과 전
문제를 풀었습니다
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
2년 초과 전
문제를 풀었습니다
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
2년 초과 전
문제를 풀었습니다
radius of a spherical planet
You just measured its surface area, that is the input.
2년 초과 전
문제를 풀었습니다
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
2년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
2년 초과 전
문제를 풀었습니다
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
2년 초과 전
문제를 풀었습니다
Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...
2년 초과 전
문제를 풀었습니다
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...
2년 초과 전
문제를 풀었습니다
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
거의 3년 전
문제를 풀었습니다
Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...
거의 3년 전
답변 있음
How to tell how an uieditfield was exited?
I might be wrong, but you could try getting the CurrentKey property of the figure function editFieldValueChangedCallback(src,...
How to tell how an uieditfield was exited?
I might be wrong, but you could try getting the CurrentKey property of the figure function editFieldValueChangedCallback(src,...
3년 초과 전 | 0
| 수락됨
질문
ValueChangedFcn on uieditfield (uifigure based app)
Hi everyone I am trying to implement a search bar in a uifigure based app, for which I am using a uieditfield. The behaviour th...
3년 초과 전 | 답변 수: 2 | 0