Discussion


Perplexity's Comet operating MATLAB Online and other web GUIs
Comet browser can figure out and operate a user interface on the web including MATLAB Online. The screen shot shows MATLAB onlin...

5 months ago | 0

Submitted


Origins of Quantum Band Structure in One Dimension
Educational Live Script exploring band structure in 1D crystal models.

6 months ago | 5 downloads |

0.0 / 5
Thumbnail

Question


Live Script animation 2025a
The folowing code produces a nice on-time animation when run from the command line. Run as a Live Script, it produces an animati...

7 months ago | 1 answer | 0

1

answer

Question


MATLAB online video creation trouble
The following test code runs in 3 seconds natively with v2025a but stalls and never completes in MATLAB online. Any suggestion a...

7 months ago | 1 answer | 0

1

answer

Discussion


Python setup for V2025a with M1 chip Apple MacBook Pro
I am thrilled python interoperability now seems to work for me with my APPLE M1 MacBookPro and MATLAB V2025a. The available inst...

10 months ago | 3

Answered
Why Import data still does not work with CSV files in R2022a ?
I ran into this today and the suggested fixes didn't work. The problem was I had a '*' in an enclosing folder name.

11 months ago | 0

Answered
How do I freqency shift a signal by a fractional amount using IFFT and FFT?
%% Frequency-Shift Demo with Synthetic Audio % This script creates a 1-s synthetic audio signal consisting of four % sinusoids...

11 months ago | 0

Answered
How do I freqency shift a signal by a fractional amount using IFFT and FFT?
analytic_segment = hilbert(segment); % Complex analytic signal shifted_segment = real(analytic_segment .* exp(1j*2*pi*f_shift*...

11 months ago | 1

Question


File Exchange submission post ransomware
I tried to submit to File Exchange today using Chrome and then Safari and the required Summary shows a title but no entry field ...

12 months ago | 1 answer | 0

1

answer

Question


Partial Autocorrelation parcorr bug?
When running parcorr on a sample of normally distributed noise, I get some strange results like one illustrated below. Others ar...

1 year ago | 1 answer | 0

1

answer

Answered
3D poisson for electrostatics using solvepde
The following is an example: https://www.mathworks.com/matlabcentral/fileexchange/178489-poisson-equation-pde-model-explorer?s_t...

1 year ago | 0

Question


Write text to web browser including carriage returns.
The following code displays a function saving the resulting text as a character array and attempts to display the result. test...

1 year ago | 1 answer | 0

1

answer

Answered
generating periodic trapezoidal waves with ramps
%pulsetran returns a vector. Here is an analytic method i just put together: %Create an analytic trapzoidal pulse train. syms ...

1 year ago | 0

Answered
How to compute response to single node impulse in structural model from modal eigenvectors directly
I think I found the answer. I need to extract the various matrices with assembleFEMatrices and renormalize the modal solutions.

2 years ago | 0

Question


How to compute response to single node impulse in structural model from modal eigenvectors directly
According to https://www.mathworks.com/matlabcentral/answers/1968759-scaled-mode-shapes-in-modal-analysis-of-a-simulated-system-...

2 years ago | 1 answer | 0

1

answer

Question


How do I damp a membrane subject to a time-dependent force with PDE Toolbox
I have a membrane wave equation simulation using PDE toolbox functions with time-independent but spatially constant or varying m...

2 years ago | 1 answer | 0

1

answer

Question


Error imposing space-derivative-dependent boundary condition with solvepde using variable state.uy - Error: Unrecognized field name "uy".
I would appreciate any advice of the following. I am working with PDE Tool box solvepde and a 2d membrane simulation and struggl...

2 years ago | 1 answer | 0

1

answer

Answered
How to convert something from Latex to matlab, is there a specific way where i can convert it with ease from latex to matlab, some function? please help
CHATGPT will do it. You there are other options and could even call the API within your code to do it programmatically. See e.g....

2 years ago | 0

Question


How does one solve equations between symbolic functions for functions
I am testing out MATLAB FunctionalDerivative for generating and solving Euler equations derived from a Laargrangian with a holon...

2 years ago | 1 answer | 0

1

answer

Answered
Polynomial Regression and finding Standard Error
The following shows how. https://www.mathworks.com/matlabcentral/fileexchange/165941-polynomial-fit-explorer

2 years ago | 0

Question


Live Editor long display output bug. Command to remove output from Live Script?
I bug I recently encountered corrupted my Live Script so it was not openable. Using symbolic methods, I had generated a formula ...

2 years ago | 1 answer | 0

1

answer

Answered
How to open a .raw file in MATLAB
Some references applicable to "rgb" "raw" and dng are https://blogs.mathworks.com/steve/2011/03/08/tips-for-reading-a-camera-r...

3 years ago | 0

Answered
How do I decode DigitalCamera.MakerNote returned by imfinfo as a vector of doubles?
Answering my own question after much ferreting around. It appears that the APPLE makernotes file is a BLIST, a binary version of...

3 years ago | 0

| accepted

Question


How do I decode DigitalCamera.MakerNote returned by imfinfo as a vector of doubles?
I have a iPhone .jpg taken with location services for the camera enabled. Using EXIFTool , I can see data (shown below) that I n...

3 years ago | 1 answer | 0

1

answer

Answered
Curve fitting using different functions
You are asking about nonlinear fitting and several choices are available including nlinfit. Try can try using Curve Fitter, from...

3 years ago | 0

Question


zoom image interactively maintaining a square zoom field
I'd like to use the + button with e.g. some control key, or some other trick, in order to zoom interactively on an image while m...

3 years ago | 2 answers | 0

2

answers

Answered
Finding minimum within a set of rows below a certain point?
% Make fake data, rows of random monotonically increasing values. X=cumsum(rand(10),2) % Make logical array for values satisfy...

3 years ago | 0

Answered
How to delete all the commented content in a m-file?
% Read the contents of the file into a string variable filename='Your_File.m' % Use fopen to open the file for reading fi...

3 years ago | 0

Answered
Multiple roots formula with Matlab
Not likely the point of the exercise but this works: syms x; solve(x^4- 6*x^3 + 12*x^2 - 10*x +3==0,'ReturnConditions',true) ...

3 years ago | 0

Answered
Connecting to ChatGPT using API
See Generate MATLAB code using ChatGPT API at https://www.mathworks.com/matlabcentral/fileexchange/125220-generate-matlab-code-...

3 years ago | 3

Load more