Community Profile

# J. Alex Lee

Last seen: 12 jours il y a Actif depuis 2016

All

#### Content Feed

Afficher par

A répondu
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.

24 jours il y a | 0

A répondu
Markers on UIAxes in App Designer
you probably need to issue plot commands specifying "parent" as the app.UIAxes

24 jours il y a | 0

A répondu
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...

25 jours il y a | 1

A répondu
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...

28 jours il y a | 0

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 1

A répondu
Curvature of a 2D image
The calculation of arc length and curvature using arc length parameterization and its derivatives, given "perfect coordinates", ...

environ un mois il y a | 0

| A accepté

A répondu
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...

3 mois il y a | 1

| A accepté

A répondu
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...

3 mois il y a | 0

| A accepté

A répondu
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...

3 mois il y a | 0

A répondu
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 ...

3 mois il y a | 0

| A accepté

A répondu
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 = ...

3 mois il y a | 0

A répondu

Gomen, kana tukaemasen. mask ni kanshiteha "logical indexing" wo search shitemitekudasai: link @(x)fun ni kanshiteha "anonymou...

3 mois il y a | 2

A répondu

Do you know about the function "atan2", which might be helpful M1 = readmatrix("tmp.txt"); tc = 1/1000000; % no need to...

3 mois il y a | 2

| A accepté

A répondu
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...

3 mois il y a | 0

A répondu
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...

3 mois il y a | 0

| A accepté

A répondu
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...

4 mois il y a | 0

A répondu
You are hiding how you created the radio buttons in the gui creation, but a big question is whether when you say "2 button group...

4 mois il y a | 0

| A accepté

A répondu
How to select rows in a table containing both string and numbers?
Look up how to index tables, and ismember. % your table name: modal_displacements % extract the columns of interest, if you ...

4 mois il y a | 1

| A accepté

A résolu

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

4 mois il y a

A résolu

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

4 mois il y a

A résolu

Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

4 mois il y a

A résolu

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

4 mois il y a

A résolu

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

4 mois il y a

A résolu

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

4 mois il y a

A résolu

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

4 mois il y a

A résolu

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

4 mois il y a

A répondu
Undefined function 'isnan' for input arguments of type 'Nodes2'
For reference, a related question that shows more of the actual classes in question: https://www.mathworks.com/matlabcentral/ans...

4 mois il y a | 1

A répondu
appdesigner, choosing from dropdown different functions
I suspect your problem is that your conditional is flawed. To test, put in an "else" to check if your conditional is not being m...

4 mois il y a | 0

| A accepté