Community Profile

photo

J. Alex Lee


Last seen: 1일 전
213 2016 이후 총 참여 횟수

J. Alex Lee's 배지

  • 12 Month Streak
  • Revival Level 2
  • Knowledgeable Level 3
  • First Review
  • Solver
  • Thankful Level 1
  • First Answer

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
web() and inputdlg() in App Designer
i think you can get around both limitations with some extra coding...never tried it, and just a thought, but... you could proba...

10일 전 | 0

답변 있음
Want to connect 3D scattered data points with line
On way is to do it in a loop. After your code, hold on d = zeros(size(x)); % to hold distances from the first point for i =...

11일 전 | 1

답변 있음
Concentric Squares with matricies
Try looking into padarray (or arraypad I can't remember...). I think you can apply successively to achieve what you want

13일 전 | 0

| 수락됨

답변 있음
Storing a loop index value in a dynamic array?
Without trying to get into the weeds of your need, did you know that "unique" can additionally output indices into each argument...

16일 전 | 1

| 수락됨

답변 있음
Extract data from a timetable excluding an specific date
This should work. Most of these steps should be straightforward..."ismember" may have been the key tt_1 = timetable(datetime({'...

16일 전 | 0

| 수락됨

답변 있음
Save plot as logical matrix array with same dimensions as original?
are you looking for imwrite()? or some combination of getframe(), frame2im(), and imwrite()?

18일 전 | 0

답변 있음
multiple isntances of custom ChartContainer in a figure
Oops, documentation says that the Parent of an instance of chartcontainer can only be one of Figure object (default) | Panel ob...

약 1달 전 | 0

질문


multiple isntances of custom ChartContainer in a figure
I defined a custom matlab.graphics.chartcontainer.ChartContainer class. When trying to populate a uigridlayout with multiple in...

약 1달 전 | 답변 수: 1 | 0

1

답변

답변 있음
Copy and re-arrange data from one column into another
Is this what you are looking for? load("~/Downloads/Sample_table_MatLab.mat") a = ["CG", "CG_LOW", "CG_HGH", "MLD", "MLD_LOW...

약 1달 전 | 0

| 수락됨

답변 있음
plot 2 different time data on the same axis in same graph
To overcome the merged legend issue, you can create an empty plot to make the legend entry T = readtable('TIMEDATA.txt'); fi...

약 1달 전 | 0

| 수락됨

답변 있음
plot 2 different time data on the same axis in same graph
or potentially you are just looking for "hold on"

약 1달 전 | 0

답변 있음
Calculating number of elements of a vector greater or equal than elements of other vector
R = rand(1,10000); losses = sort(rand(1,2000)); for i = numel(losses):-1:1 counts(i) = sum(R >= losses(i)) end

약 2달 전 | 1

| 수락됨

답변 있음
Discrepancy with easy ODE.
You have a syntax error on what your odefun is returning. To fix: function [yp]=fun(t,y) yp=y*(1-y); end

약 2달 전 | 0

| 수락됨

답변 있음
Creating iteration to make CSVs that do not overwrite
I agree with Ive J and their solution will work, but if N>9, you may want to include leading zeros. I'm not sure how to do that ...

약 2달 전 | 1

| 수락됨

답변 있음
Solve differential equation system with ode45
If you want to use ode45, then you have to pose as 5 first order ODEs in place of the 3 you have, by defining new variables J=G'...

2달 전 | 0

답변 있음
Solving complicated system of symbolic equations
I like John's comment about visualizing. To expand on this, and Walter's comment that it is trickier to do this in the complex p...

2달 전 | 0

답변 있음
Select random numbers from matrix without repetition
And here is a different approach to the contiguous blocks. Instead of checking for overlaps, you can avoid them by tagging eleme...

2달 전 | 0

답변 있음
Select random numbers from matrix without repetition
Here is a simple way if you don't need contiguous blocks, but just need to randomly sample elements without repeating L = 1024;...

2달 전 | 0

답변 있음
readtable (excel) behavior for string type with empty cell vs spaces
According to Jemima's answer, confirmed that the issue is an internal conversion of the "" to <missing> within readtable. Furthe...

3달 전 | 0

답변 있음
Split datetime column data into two column
if you import it as a datetime variable, you can use datetime operations to render into whatever format you want, including one ...

3달 전 | 0

질문


readtable (excel) behavior for string type with empty cell vs spaces
I am trying to make an excel import function robust to treat either empty cells or cells containing only spaces in a specific wa...

3달 전 | 답변 수: 2 | 0

2

답변

답변 있음
Can you replace names in struct?
Going out on a limb since as Matt J points out it's not clear what exactly everything is, but... I think what you need is metad...

3달 전 | 0

| 수락됨

답변 있음
Creative way to create a Matlab array from a textfile with multiple headers.
This will grab the data, but it will not be organized...you can change internal storage to suit your needs. I'm curious if this ...

3달 전 | 1

답변 있음
Dragable rectangle with text
Ugly, but minimal changes to original code: function drag_drop close all dragging = []; orPos = []; f = figure('WindowB...

3달 전 | 0

답변 있음
Number of button groups in GUI depending on user input?
I would question the premise... How about having a listbox that lists each measurement, and only a single button group, whose c...

3달 전 | 0

답변 있음
Fit height uitable App Designer
it wouldn't work with the "fit" gridlayout, but if it is really important to you, what i have done in the past is to measure the...

3달 전 | 0

| 수락됨

답변 있음
Fit height uitable App Designer
Look into uigridlayout with the "fit" keyword for row heights

3달 전 | 0

답변 있음
How can I plot this type of figures?
Using surf, did you take these steps? L = membrane(3); surf(L,"LineStyle","none") % don't display mesh view(2) % view from to...

3달 전 | 0

| 수락됨

답변 있음
Dataflow in App Designer
Yes, much clearer explanation of your question. All due respect to Sourabh, I do not think you are looking for multi-window app...

4달 전 | 0

답변 있음
Newton's method for minimisation returns a critical point
Yes this looks normal, you are only asking to zero the gradient of the function, so naturally that includes non-optimal points w...

4달 전 | 0

Load more