Answered
Morse code decoder, please help me
Or: text1 = input('Please Enter morse code: \n', 's'); morse = {'.-','-...','-.-.','-..','.','..-.','--.','....','..',...

8 years ago | 3

| accepted

Answered
Axis equal doesn't work?
According to |doc axes| the command |axis equal| does: Use the same length for the data units along each axis. So it adj...

8 years ago | 1

Answered
Replacing NaN with the average of previous and next cell value
Maybe: y = fillgaps(exp1, 3, 1) % Needs Matlab >= R2016a [EDITED] Sorry, this does not do, what I expect. Accor...

8 years ago | 1

Answered
Need to use some data out of a cell array for my pcread command
C=(cloud1.pcd,cloud2.pcd,cloud3.pcd,...) This is not a cell array. Do you mean a cell string, which contains file names? ...

8 years ago | 0

Answered
Why does MatLab has inputParse function but does not use it in its own functions
The total time to solve a problem consists of: T_total = T_design + T_programming + T_debugging + T_runtime |inputParser...

8 years ago | 2

Answered
How to use help to show documentation for pcode version of a MATLAB class
You can find many tools for this job in the FileExchange: <https://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93...

8 years ago | 0

Answered
Warning: Could not find appropriate function on path loading function handle
This is not a question for the general Matlab forum. Contact the author of the software. The software is from 2015 and all I ...

8 years ago | 0

Answered
out of memory whenever other programs are running
Yes: * Install more RAM if you need more RAM. * Do not run other jobs, which exhaust the RAM. Of course, if many programs us...

8 years ago | 1

Answered
How do I turn a maxtrix to a vector
All resorting of arrays, which keeps the neighborhood in a specific dimension, can be performed by Y = reshape(permute(resh...

8 years ago | 1

Answered
concat of 3d mat files in a folder
With a loop: Folder = 'C:\Your\Path'; % Adjust the path to your needs List = dir(fullfile(Folder, '*.mat')); C ...

8 years ago | 0

| accepted

Answered
Cell Array to one column with xlswrite
Try this minimal working example: FNM = {'ID1232.csv'; 'ID124.csv'} xlswrite('output.xlsx', FNM, 1, 'A1') Does it wor...

8 years ago | 0

Answered
MATLAB bug when adding new function while on breakpoint?
The debugger is thought for (guess what?) debugging. It is not a powerful tool to control the program flow. Maybe the observed b...

8 years ago | 1

| accepted

Answered
Running a C++ mex file on Matlab 2015?
It depends. Does the Mex file use the "C Matrix API" or the modern "MATLAB Data API", which is not available in R2015? Compil...

8 years ago | 0

Answered
Change line in a text file
If the file has 500 lines only, importing the complete file and creating a new one is cheap an easy. Note that 500 lines of text...

8 years ago | 0

Answered
double zero 00 fill in array
This is not possible. If |sec| should be a numerical array, that 00 is not meaningful - there is no such number and leading zero...

8 years ago | 0

| accepted

Answered
Deleting folders with specific name
Base = 'C:\Users\sesa498313\Desktop\Newfolder'; List = dir(fullfile(Base, '**', 'FTC')); List = List([List.isdir]); % ...

8 years ago | 0

Answered
How to make a 3x3 matrix
syms theta; beta = 0:2*pi/3:4*pi/3; L = [cos(theta+beta); ... cos(theta+beta-2*pi/3); ... cos(theta+beta...

8 years ago | 0

| accepted

Answered
How to get a list of the structures used in a matlab code?
If you got a "large code" (maybe some 100'000 lines of code) and it is not well documented, you are in pain. Such "brownfield pr...

8 years ago | 0

| accepted

Answered
parallel computing toolbox - memory issues - possibly leak
Without some code, which reproduces the problem it is hard to guess, what's going on. While it is recommended at all to avoid us...

8 years ago | 0

Answered
Is a trial available with a Home license?
Please contact MathWorks by phone or by the <https://www.mathworks.com/company/aboutus/contact_us.html?s_tid=gn_cntus Contact Us...

8 years ago | 0

Answered
Eliminating and creating new data file
An advice: Compare: Mrr=A(i,2)*10^A(i,1); Mtt=A(i,4)*10^A(i,1); Mpp=A(i,6)*10^A(i,1); Mrt=A(i,8)*10^A(i...

8 years ago | 1

Answered
I am getting this error for the written code
Why do you provide the |options| to |bvpinit|? If I change this to: solinit=bvpinit(linspace(0,1,50),guess); sol = bvp4c...

8 years ago | 0

Answered
How to find character bigrams from a string
str = 'night'; list = cellstr([str(1:end-1); str(2:end)].')

8 years ago | 0

| accepted

Answered
Difference between mod and rem functions
See: |doc rem| and |doc mod|: mod is: r = a - b .* floor(a ./ b) rem is: r = a - b .* fix(a ./ b) This is the same fo...

8 years ago | 2

Answered
Creating log of matlab run script with time and date
FileName = fullfile(tempdir, 'MyLogFile.txt'); Message = 'Hello'; fid = fopen(FileName, 'a'); if fid == -1 er...

8 years ago | 1

| accepted

Answered
Error using feval Argument must contain a string or function_handle.
After f = input('ingresa la función completa a resolver:') the variable |f| contains numerical values. Either use ...

8 years ago | 0

Answered
Question for uimenu open direction.
No. It depends on the current position on the screen and the operating system controls the position of the submenus. This concer...

8 years ago | 0

| accepted

Answered
How to find maximum without duplicates?
A = [1 2 1 0 0 2; 2 1 4 2 0 0; 1 1 0 2 1 1; 1 1 0 1 4 2]; [v, ind] = max(A, [], 1); Now |ind| is the row index of...

8 years ago | 0

| accepted

Answered
Find missing elements from table
A = [1;2;3;4;5;6;7;8] B = [1 2; 1 8 ; 2 8] C = intersect(A, B) Or if you want to keep repeated values: C = A(ism...

8 years ago | 0

| accepted

Answered
Undefined function 'mexDGC' for input arguments of type 'uint32'.
Did you run |installmex| as suggested in the documentation? See <http://groups.inf.ed.ac.uk/calvin/articulated_human_pose_estima...

8 years ago | 0

Load more