Answered
Synchronize timetables stored in a structure
One possible interpretation of your question: Sc = struct2cell(S); joint = sortrows(vertcat(Sc{:})); synchronized = structf...

3 years ago | 0

| accepted

Answered
How to rescale image data ?
You can imresize -- but you have to decide whether you want to resize directly to 512 x 512 (which will change the aspect ratio ...

3 years ago | 0

| accepted

Answered
Cannot run sudo ./install with Putty (SSH)
You are not asking for X Windows port forwarding; so if you are expecting a GUI to show up, it is not going to do that. This ass...

3 years ago | 0

Answered
The multiplication result by sum() and matrix multiplication are not the same
format long g A = rand(4, 1) + 1j * rand(4, 1) B = rand(4, 8) + 1j * rand(4, 8) C1 = sum(A.*B,1) C2 = A.'*B sum(C1(:) == C2...

3 years ago | 0

Answered
Array not in the same size
You say that your c2, c3, diff_q1t, diff_q2t and s3 all have 198 data, so NwA_a1=(s3.*diff_q2t + c2.*c3.*diff_q1t) %Angular ve...

3 years ago | 0

Answered
How to put matrices defined earlier in "for loop" later
syms x p_1 p_2 r rho_alpha = (1/21).*[2 0 0 0 2 0 0 0 2;0 5-x 0 0 0 0 0 0 0;0 0 x 0 0 0 0 0 0; 0 0 0 x 0 0 0 0 0;2 0 0 0 ...

3 years ago | 1

Answered
Create variables name with iteration number in each time step?
Please read http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval fo...

3 years ago | 0

Answered
Error in testing accuracy code
The output of load applied to a mat file, is a struct that has one field for each variable loaded. So you would need net.net whe...

3 years ago | 1

Answered
wordEmbeddingLayers() available in Deep Learning Toolbox?
No, it has always been part of Text Analytics, https://www.mathworks.com/help/releases/R2018b/textanalytics/ref/nnet.cnn.layer.w...

3 years ago | 0

Answered
Heat flux equation coding
[sorted_t, idx] = sort(T); sorted_R = R(idx); gr = gradient(sorted_t, sorted_R); q = -mean(gr);

3 years ago | 0

Answered
create a new array with group sum
data = [ ... 1690492071 238581 1.3 1690492071 238582 1.0 1690492071 238580 0.3 1690492071 238576 0.0 16...

3 years ago | 0

| accepted

Answered
Using SVM on a matrix
ND = ndims(YourMatrix); IDXs = cell(1,ND); [IDXs{:}] = ind2sub(size(YourMatrix), (1:numel(YourMatrix)).'); Data_for_SVM = hor...

3 years ago | 0

Answered
Printing output result given different input
dlmwrite can only write to one file in any given call. dlmwrite('Model_1.txt', First_Variable, 'Delimiter', ' ', 'precision', '...

3 years ago | 0

Answered
MATLAB won't run a code even when in directory containing the code
generateNetbatchProfile is not a Mathworks-supplied function -- at least not that I can find documented or in any toolbox that I...

3 years ago | 1

| accepted

Answered
Writing a table too large for MATLAB
You can do slightly better with numfiles = 9; arr = cell(numfiles,1); for i = 1:numfiles A = readtable("LRO_ES_0" + i + ...

3 years ago | 0

Answered
How to I convert a binary (logical) image back into double, uint8, etc, without changing what the image looks like in binary?
img = imbinarize(imread('cameraman.tif')); imshow(img); title('logical') i8 = im2uint8(img); imshow(i8); title('uint8'); ...

3 years ago | 0

Answered
Where can I find MATLAB license files?
See https://www.mathworks.com/matlabcentral/answers/99147-where-can-i-find-matlab-license-files?s_tid=srchtitle

3 years ago | 0

Answered
hi i need help in this matlab command [A1,c]=averagevalue(R, ps,pt)
There is no MATLAB function named averagevalue() A year ago you asked about averageValue(R,ps,pt,alpha,rs,cs) and it looks like...

3 years ago | 0

Answered
can an array be passed to rceps?
No, rceps is documented as accepting vectors

3 years ago | 0

| accepted

Answered
Error L2 is not defined
There are no MATLAB functions named L1, L2, or L3 in any toolbox, and in the code you posted you do not define functions or vari...

3 years ago | 0

Answered
Error in using parallel computing with gamultiobj
You cannot use global with parallel. Or to be more accurate, no global variables will be passed between processes so they will s...

3 years ago | 0

Answered
Error using strfind Conversion to double from table is not possible.
temp2 = strfind(dataTimeColumn{1,1},'T')

3 years ago | 0

Answered
Is there any possible way to access the workspace variables of a MATLAB instance using process id obtained from Task Manager?
No, there is no way to do that. There is no way to get at the workspace of any independent matlab session. Historically the c...

3 years ago | 0

| accepted

Answered
How to use Windows os in matlab online?
There is no way to do that. Matlab Online runs on Linux based cloud computing systems. Users only have access through browsers t...

3 years ago | 1

Answered
Multiple facecolor in one fsurf plot
M = 1; m = 0.1; n = 3; Pr = 3; Ec = 0.1; N = 0.5; lp = 0.01; Bi = 0.5; wf = 100; om = 0.1; %w1 = 10; w2 = 10; syms w1 w2 fac...

3 years ago | 0

| accepted

Answered
how to simplify a symbolic linear system of equations
Example: syms x y z tau eqns = [x+y-2*z*tau == 0, x+y*tau^2+z == 1, 2*y-z == -5]; [A,b] = equationsToMatrix...

3 years ago | 1

| accepted

Answered
can we compile fortran files to mex on Windows using WSL ?
Is it possible ? Googling, posts say Yes. For example https://groups.google.com/g/comp.lang.fortran/c/e-tK0J7fHJM?pli=1 I am f...

3 years ago | 0

Answered
Can anyone help me with this Error in the "fmincon" function please
You do not show us the code for optfun and you do not give us the data file; we cannot test your code to figure out in detail wh...

3 years ago | 0

| accepted

Answered
how can I find points in specific cell without 'for' loop?
When dealing with gridded map coordinates, the grid will either be rectangular in degrees or else rectangular in some physical d...

3 years ago | 0

Answered
What does [2266x1] means and how do i implement it?
When you have a signal labeled with [2266x1] then it means that the corresponding signal is expected to be a column vector with ...

3 years ago | 1

| accepted

Load more