Answered
Plot surface from Lat/Lon/Depth/Data with different size depth
This might help with a starting point. Of course you will fill in your own depth data and coordinates. lat = 35:(1/35):36-1/...

4 years ago | 0

Answered
How to extract data from an array
Use signal= sig(i-20000:1:i+50000); And you probably need checks in case i < 20000 or i > (end - 50000) as special cases...

4 years ago | 0

| accepted

Answered
Huge 6DOF model has performance issues
Are you using model referencing with this? A reference model has its own cache file which only needs to be updated when that mo...

4 years ago | 0

Answered
Compare MATLAB and SIMULINK?
Adding to previous answers on this, and updating for changes in the Mathworks product offerings: Simulink diagrams can server a...

4 years ago | 0

Answered
What is wrong with my code?
xH, yH, and BPH are all scalar values. They must be the same length as fBPH(T). In this line to you mean to pass a vector argu...

4 years ago | 0

Answered
Combining many variables into one table
You can use addvars in a for loop to successively add columns to a table. Note all table columns will need to have the same num...

4 years ago | 0

Answered
How to use the 'date picker' date as input from the user?
You should enclose the second argument to ismember in single quotes, as in: [idx R1]= ismember(IN1,'Date');

4 years ago | 0

Answered
Matlab Fit Geo Trans
imwarp accepts an argument 'FillValues' if you want to specify some other intensity or color. Depending on the nature of the tr...

4 years ago | 0

| accepted

Answered
Which Parallel Computing method to use for my software
The random feature and the writing back into a common data matrix are the biggest problems here. If there are enough columns in...

4 years ago | 0

| accepted

Answered
Serial Data signal Generation
See if one of the examples on the File Exchange will work for you: https://www.mathworks.com/matlabcentral/fileexchange/?cate...

4 years ago | 0

| accepted

Answered
Matlab trial for high school
You should contact MATLAB support: https://www.mathworks.com/support/contact_us.html

4 years ago | 0

| accepted

Answered
How can i plot data from XLM file?
Here is an example that may be helpful. If you can post your sample code that loads and displays your map, along iwth the XML f...

4 years ago | 0

Answered
Mathworks License Refund Request
You should contact your sales representative from whom you purchased the license, or the support request web site is: https:/...

4 years ago | 1

| accepted

Answered
turn table to contour
If you type "doc contour" in MATLAB you will see many ways to use it: contour(Z) contour(X,Y,Z) contour(___,levels) contour(...

4 years ago | 0

Answered
How can I draw a perpendicular line at the middle of another given line in 3D ?
There is actually a plane that is penpendicular to a line in 3D space. You can follow Gram-Schmidt to identify two perpendicula...

4 years ago | 0

Answered
Why when I run this code I got this error messege "Index exceeds array bounds." and this "Matrix dimensions must agree." ?
When multiplying by a scalar, do not use .*. Making this chang allows the first thee iterations of your loop to pass. ...

4 years ago | 0

Answered
What is the solution to this error?
If the selected_bboxs argument is empty, then GenerateRandNegativeBBoxSet will not enter the loop where the two output variables...

4 years ago | 0

| accepted

Answered
How to create a boundary along the edges for 3d plot?
There is a function called "boundary" that should work for you. Type "help boundary" or "doc boundary" for more information.

4 years ago | 0

| accepted

Answered
How to concatenate binary strings?
Something like this. Just change the size arguments passed to reshape as needed: A = [ '00000010' '01101111' '0011...

4 years ago | 1

Answered
Making human readable cpp using coder
Try setting cfg.BuildConfiguration to 'Debug' or 'Faster Builds'. The tool is seeing local variables that it can remove to redu...

4 years ago | 0

Answered
I have a program like this (MATLAB function on Simulink): And I want it to stop when I get 256 values. Does the randi function work almost continuously?
You can call randi once to get a set of integer random numbers as a vector or matrix. Call randi(N, X, Y), where N is the max i...

4 years ago | 0

Answered
My subsystem references won't load in my model when I'm opening my project
The project editor has a button called "Project Path" to open a "Manage Project Path" dialog box. You should set up project req...

4 years ago | 0

Answered
Implementation of FFT in C language_ generated input samples from MATLAB
MATLAB has support for fftw which is open source from MIT and also available in an open source C library at https://www.fftw.org...

4 years ago | 1

Answered
How to use a third party toolbox with GUI in MATLAB on GPU?
Type "doc gpuArray" in MATLAB to get access to a helpful documentation article with lists of GPU supported functions in MATLAB a...

4 years ago | 0

Answered
Meshgrid function in Simulink
Yes you can just add a MATLAB Function block and use meshgrid in that MATLAB function.

4 years ago | 1

Answered
Input Data for Distribution Fitter
The carsmall.mat file is sample data in the Statistics and Machine Learning Toolbox. Do you have a license for that toolbox?

4 years ago | 0

Answered
Simulink project with source control
You should try cloning your local repository using a different GIT client. See if the same error happens.

4 years ago | 0

Answered
Multiple trigger signals in Triggered Subsystem
One trigger input to the block sounds less complex than two, to me any way. I vote for taking your two signals and combining th...

4 years ago | 0

Answered
How can i monitor compile process while i use mex or slcovmex
Type "help mex" for a list of options that go with mex. You probably want to add the -v option for Verbose output.

4 years ago | 0

| accepted

Answered
How can I solve the Error: 358 when activating MATLAB R2019b?
You need to get a current license file. Are you able to go to the Mathworks website to download one?

4 years ago | 0

Load more