Chris
Followers: 0 Following: 0
Python, C, MATLAB
Estadística
6 Preguntas
150 Respuestas
0 Problemas
5 Soluciones
CLASIFICACIÓN
215
of 300.338
REPUTACIÓN
463
CONTRIBUCIONES
6 Preguntas
150 Respuestas
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
59
CLASIFICACIÓN
of 20.922
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
57.481
of 168.149
CONTRIBUCIONES
0 Problemas
5 Soluciones
PUNTUACIÓN
60
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
What would cause Matlab to lose track of gcf()?
I'm trying to reproduce a bug/reduce it to something I can report, but so far it only happens when I call a particular 150-line ...
alrededor de 1 año hace | 2 respuestas | 1
2
respuestasHow to export 3D sphere at stl format
You need a triangulation. stlwrite only works with triangles (vs tetrahedrons), which maybe has to do with an stl only defining...
casi 2 años hace | 0
Exempting imaginary numbers from the output of an expression using an if statement.
You can take the absolute value of each difference: AT = sqrt(s.*abs(s-a).*abs(s-b).*abs(s-c));
casi 2 años hace | 0
| aceptada
Pregunta
How should I control label behavior when enabling/disabling elements in app designer?
I've attached a simple app wherein one listbox is disabled by default. In design view, this grays out the label text, as if gray...
casi 2 años hace | 1 respuesta | 0
1
respuestaSplitting table field with multiple rows into separate columns
Whoops. It looks like each array in Data is a cell, so you'll need to drill down a bit. To repack the first cell: load('Data.ma...
más de 2 años hace | 0
Splitting table field with multiple rows into separate columns
How about: T = rows2vars(Data); T(:,1) = []; Or, if you really only want the first three: T = table(Data{1,1},Data{2,1},Data...
más de 2 años hace | 0
Fast calculation of distances between two large arrays
This should be a little bit quicker (my computer indicates ten hours). tol = 0.5; M = rand(1113486,2); N = rand(1960000,2); ...
más de 2 años hace | 0
| aceptada
Plot length of time between two events
Without your code, it's difficult to say what is "easier." Errorbar plots are pretty simple. You could use patch... % My table...
más de 2 años hace | 0
| aceptada
Simple query: how can I remove radial axes (eliminate the "spokes") on a Compass Plot
I think the developers of these functions don't intend for us to be messing with the grids, or haven't gotten around to making i...
más de 2 años hace | 0
| aceptada
I'm having a problem averaging multiple curves using interp1
You take the mean and max of the U values; I believe you want the I values instead. You have plenty of data points, so the defa...
más de 2 años hace | 0
| aceptada
Logical Indexing With LinSpace Issues
This looks like a problem of computer precision. Double-precision floating point numbers in matlab (and floating-point numbers i...
más de 2 años hace | 1
What is the difference between "any" and "all" function?
B = [0 0 0]; [any(B), all(B)] C = [1 1 1]; [any(C), all(C)] A = [0 1 0]; [any(A), all(A)] If any elements are true, any is...
más de 2 años hace | 1
Unable to install matlab as it shows error unable to launch matlabWindow application
I would recommend using a Supported OS, probably with Gnome or KDE. If you insist on torturing yourself, start by reading the M...
más de 2 años hace | 1
| aceptada
I would like to modify the equation to calculate total reflection coefficient for N multilayer structure
You could start with an approach like this (numbers are made up): ep = [1 3.9 12 1].'; % The apostrophe transposes the array t...
más de 2 años hace | 0
set range in plot interactively
Attached is a basic app made hastily in App Designer. There are UI elements including a UIAxes for plotting, and callbacks att...
más de 2 años hace | 1
Unable to perform assignment because the left and right sides have a different number of elements.
You've hit the end of the file. The file has 10001 data-containing lines. Your code errors at ii==11, jj==2. block_size (1000...
más de 2 años hace | 2
Starting the AddOn Manager from the command line
I've just run across the Matlab Package Manager, though I'm not sure it would be helpful for your case either. MPM
más de 2 años hace | 1
how to rotate image using function notation
If you're using imwarp, you might as well use imrotate, no? You'd be using the function imrotate() to rotate an image, if that's...
más de 2 años hace | 2
| aceptada
How do I input a table column of values into a formula?
The problem, as pointed out by Stephen, is that you are accessing the table data with parantheses, which creates another table. ...
más de 2 años hace | 0
| aceptada
Question regarding how to make a game similar to snake in MATLAB.
You could introduce a "grow" bit for each snake. Set it to false initially. grow = false; If a snake collides with an apple, s...
más de 2 años hace | 0
| aceptada
Calling matlab.engine.connect_matlab() twice freezes Python
names = matlab.engine.find_matlab() if 'MY_SESSION' in names: eng = matlab.engine.connect_matlab('MY_SESSION') You can de...
más de 2 años hace | 0
Converting an array slicer to Python
Here's a demonstration. import numpy as np lo = -200 hi = 20 x = np.ones((27000,1)) udata = np.ones((27000,10)) columnMa...
más de 2 años hace | 0
| aceptada
How to merge and slice arrays of different sizes?
Perhaps you'd be better off with a cell array. ydata = randi(9,1,8) ydata = num2cell(ydata) udata = num2cell(randi(9,1,8)) u...
más de 2 años hace | 0
disp(‘hello world’);
disp ('hello world'); Your apostrophes are wrong. How did you generate them? Here is your version: disp (‘hello world’); You ...
más de 2 años hace | 0
| aceptada
Resuelto
expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...
más de 2 años hace
Resuelto
expand intervals
You're given a row vector of an even number of monotonically increasing integers. Each pair of consecutive integers is the lower...
más de 2 años hace
Resuelto
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
más de 2 años hace
Resuelto
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
más de 2 años hace
Pregunta
I'd like to plot some points over an image in a dialog.
I want to be able to select one point with a left-click, a second point with a right-click, but I'm running into all sorts of tr...
más de 2 años hace | 1 respuesta | 0
1
respuestaMatlab App Designer get axes name from button click
I would add a tag (under "Identifiers") to the UIAxes. Then: function UIAxesSelectedCallback(app, event) selectedA...
casi 3 años hace | 0







