photo

J. Alex Lee


Last seen: 12 jours il y a Actif depuis 2016

Followers: 0   Following: 0

Statistiques

All
MATLAB Answers

10 Questions
277 Réponses

Cody

0 Problèmes
31 Solutions

RANG
163
of 300 442

RÉPUTATION
710

CONTRIBUTIONS
10 Questions
277 Réponses

ACCEPTATION DE VOS RÉPONSES
80.0%

VOTES REÇUS
107

RANG
 of 20 997

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
13 309
of 168 928

CONTRIBUTIONS
0 Problèmes
31 Solutions

SCORE
422

NOMBRE DE BADGES
3

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 3
  • CUP Challenge Master
  • Community Group Solver
  • Thankful Level 2
  • Knowledgeable Level 5
  • Pro
  • 12 Month Streak
  • Revival Level 2
  • First Review
  • Solver
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How can I limit the number of point/markers drawn per pixel in a plot to one
One idea is to resample the points in log-space just for plotting, this way on a log plot you get the same pixel density (in the...

environ 2 mois il y a | 0

Réponse apportée
Properties validation in subclass with multiple superclass but same ancestor
i just tried this MWE on 2025a update1 and it did not give me an error on instantiating EBike9000. classdef vehicle < handle ...

environ 2 mois il y a | 1

| A accepté

Réponse apportée
how to estimate parameters for oscillation data with ODE system model
Disclaimer, I don't have experience with this specific question but I am interested and want to try to help. First thing I'd do...

environ 2 mois il y a | 0

Question


autocomplete filenames paths function input
I am trying to get custom function input autocompletion for a filename and can't get it to work how I want: I have a function l...

5 mois il y a | 1 réponse | 1

1

réponse

Réponse apportée
How to count the number of non-nan values for combination of multiple variables
Not sure what d and e need to be, but i think this should at least partially help a = [1,1,1,2,2,2,2]'; b = [660, 661, 661, 66...

plus d'un an il y a | 0

Réponse apportée
Creating histograms of a matrix with weights in separate matrix
I know this is old, but wanted to provide another answer based on another relevant Matlab Answers post in case anyone else may b...

plus d'un an il y a | 0

Réponse apportée
Join tables based on times that are within 3 hours of each other
This may be one such "optimization", though i have no idea if it is faster, but it maybe is less "brute force"? A = table(["AAA...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
A compact way to replace zeros with Inf in a matrix
You can implicitly index "linearly" for any arrays - it will do all the ind2sub and sub2ind in the background: % Input A = [0 ...

environ 2 ans il y a | 2

| A accepté

Question


Escape characters in compose with array input and minus sign *edit* with "empty" string ""
I have trouble understanding the conditions under which compose() works when passing combination of "empty" strings "", escape c...

environ 2 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
convert patch structure to graph() object?
Found a more built-in way but you have to convert the structure to a triangulation % create structure by isosurface [x,y,z] = ...

environ 2 ans il y a | 0

Réponse apportée
convert patch structure to graph() object?
Are you sure your method is giving you the graph you want? It looks like it counts edges twice, but not exactly. So my question...

environ 2 ans il y a | 0

Réponse apportée
How to plot contour on a curved surface for the below problem?
This is how I would do it with the bump. % parameters z_root=0; z_top=150; Ri0 = 80; trunk.TRes = 360/5; trunk.ZRes = 3...

environ 2 ans il y a | 1

Réponse apportée
plot every column in an excel sheet and the corresponding column in the second sheet in same box plot with header name as chart title.
T1 = readtable("example.xlsx","Sheet","TF off TS","NumHeaderLines",1); T2 = readtable("example.xlsx","Sheet","No twist free off...

presque 3 ans il y a | 0

Réponse apportée
Markers on UIAxes in App Designer
you probably need to issue plot commands specifying "parent" as the app.UIAxes

presque 3 ans il y a | 0

Réponse apportée
Solution of Fick's Second Law of Diffusion Equation
I agree with the general idea in Torsten's answer using FD and method of lines. Specifically what ode solver to use on the discr...

presque 3 ans il y a | 2

Réponse apportée
Detect when UIfigure is open
the best i have been able to do is to not use appdesigner itself to create ui components and start the app very bare bones so th...

presque 3 ans il y a | 0

Réponse apportée
Plot Stiffness of Unidirectional Composite in Polar Coordinate System
theta and rho are respectively angle and radius...so for example t = linspace(0,2*pi,500)'; r = cos(t).^4 + .5; polarplot(t,r...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Slower program due to an additional figure window
I think your issue is that call to getframe() needs app.UIAxes to be supplied, that is, getframe(app.UIAxes) otherwise it wil...

presque 3 ans il y a | 0

Réponse apportée
Filled contour with whiteout regions based on xyz data
If you can tolerate manually identifying white-out regions (just by a single set of coordinates somewhere in the region, such as...

presque 3 ans il y a | 1

Réponse apportée
Curvature of a 2D image
The calculation of arc length and curvature using arc length parameterization and its derivatives, given "perfect coordinates", ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to group statistics by 2 variables for plotting?
are you looking for something like this? load("VolcRegion_clust.mat") T = cell2table(VolcType_clust,"VariableNames",["Region...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Increasing speed by fixing axis and grid outside of a loop
I think what Torsten is getting after is: do you intend to keep the history of all the previous pairs you plotted? But I'm goin...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
morphing a surface over 3D data
It's hard to give specific ideas without knowing the shape, but... "The final goal is to obtain a triangulated surface that con...

environ 3 ans il y a | 0

Réponse apportée
how to remove jumps?
Are you looking at the diff() of the signals? Maybe you can find the locations of the jumps as where the largest absolute value ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to draw a ball by plot3?
like this? but it doesn't use plot3 [x,y,z] = sphere(64); p = surf(x,y,z,"FaceColor","interp","EdgeColor","none"); p.CData = ...

environ 3 ans il y a | 0

Réponse apportée
条件ごとに計算させるにはどうすればよいか
Gomen, kana tukaemasen. mask ni kanshiteha "logical indexing" wo search shitemitekudasai: link @(x)fun ni kanshiteha "anonymou...

environ 3 ans il y a | 2

Réponse apportée
条件ごとに計算させるにはどうすればよいか
Do you know about the function "atan2", which might be helpful M1 = readmatrix("tmp.txt"); tc = 1/1000000; % no need to...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
Using readtable (or similar) to import multiple ranges of data
it's hard to say without seeing the csv file, but it sounds like the data is not really tabular, and you may be better off using...

environ 3 ans il y a | 0

Réponse apportée
I want to store tables in a for loop to excel
Assuming the columns in the table are always the same, and you generate multiple versions of a table in the loop, and want to sa...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to combine group of plots into one with separate marker
Assuming that each figure only has 1 axes and you want the first axes to be the one you want to copy into fig(1) = open('f1.fig...

environ 3 ans il y a | 0

Charger plus