Answered
Calculate volume from an isosurface
https://www.mathworks.com/matlabcentral/answers/267849-volume-under-an-iso-surface#answer_209668

7 years ago | 0

Answered
How do I plot a large amount of data?
x=1:733; y=Ppvproto.PVPower(24:756); plot(x,y,'.')% % if it doesn’t work upload your excel file which reveals the entire conte...

7 years ago | 0

| accepted

Answered
Unable to write charcters into excel.
xlswrite('sample.xls','a b c') % doesn‘t a string work?

7 years ago | 0

Answered
How can i get offline key for my trial?
I guess if you just download the trial version you will get license to use it for 30 days https://in.mathworks.com/downloads/ ...

7 years ago | 0

Answered
How can I get the pixel co-ordinates of the point where I click in the image?
getpts() ginput()

7 years ago | 0

| accepted

Answered
How to interpolate 3D points to get continuous smooth curve?
See https://in.mathworks.com/help/curvefit/examples/constructing-spline-curves-in-2d-and-3d.html - edited after sir Image Anal...

7 years ago | 0

Answered
anyway to add grid based on right yyaxis
As Cris LaPierre as already stated the precise algorithm , what you can do is you can just swap the yyaxis right to left and vic...

7 years ago | 1

| accepted

Answered
How do I solve this complex equation?
I believe you are getting the correct answer % method 1 syms Z eqn=4*Z^4-11*Z^2+7-3i==0; Root=vpasolve(eqn) % method 2 roo...

7 years ago | 0

| accepted

Answered
Hi. I keep getting the statement unbalanced or unexpected parentheses or bracket. I've tried many times correcting it but I did not manage to solve the problem. Is there any mistake that I didn't notice? Please help me. Thank you.
Note you didn't define f also you shoud use iter as an index to save the variables in each index thereby avoiding to overwrite t...

7 years ago | 0

Answered
Plotting 2 different inputs and 1 output using x-y axis
doc ezplot

7 years ago | 0

Answered
連続した番号のついた txt ファイルの連続変換
Processing sequence of files https://in.mathworks.com/matlabcentral/answers/8902-from-mat-to-txt

7 years ago | 0

Answered
how do extract data from a multi dimensional structure array
you may also look into arrayfun() and structfun() to plot struct array RH = S.observations.data.rel_hum(:)

7 years ago | 0

Answered
I'm new to Matlaab and I'm getting this error whitout explanation
It’s clear that q has 50 elements but you run a loop till 101 so better is to populate q with 101 elements as such q=linspace(q...

7 years ago | 0

| accepted

Answered
Hello everyone, may I get some help with symbolic math toolbox please?
https://in.mathworks.com/help/symbolic/solve.html#bue1fkj-6 -> about IgnoreAnalyticConstraints , also I guess instead of substit...

7 years ago | 0

Answered
Change order in an Array using a second array
a(p)

7 years ago | 4

| accepted

Answered
Sum elements of matrix aside from the first row or column
A=rand(3,2) % a short example for you to understand a=A(2:end,:) % excludes first row b=A(:,2:end) % excludes first column ...

7 years ago | 0

| accepted

Answered
fast interp on 1 dimension of 3d matrix
interp3(A,2)

7 years ago | 0

Answered
Plotting a function error.
EDITED clear all x=-400:400; Y=1./(j.*x+3); y=(abs(Y)); plot(x,y) xlabel('-400 < x < 400 (rad/sec)') ylabel('Fouriers Tr...

7 years ago | 0

| accepted

Answered
Error while trying to image fourier transform of a function?
x=-400:400; Y=1./(j*x+3); abs(Y)

7 years ago | 0

| accepted

Answered
Undefined function or variable 'a'?
t=0:0.01:(3*pi)/2; x =sin(1.8.*pi.*t); plot(t,x,'r-.'); saveas(gcf,'example.jpg') % not imwrite

7 years ago | 0

| accepted

Answered
Matrix Multiplication of different size
load R.mat load data.mat data * (R(:)).' % matrix multiplication rules %^---103 by 1 ^-------- 1 by 4 %...

7 years ago | 0

Answered
After obtaining the pixel values of an image..how to store those pixel values in an array?
pixel = cell(1,rows); ctr = 1; for R=1:rows for C=1:columns pixel{ctr}=my_image(R,C); disp (R) ...

7 years ago | 0

| accepted

Answered
I am trying to solve the following matlab code from last 15 days but getting "NaN & Inf"
https://www.mathworks.com/help/matlab/matlab_prog/infinity-and-nan.html

7 years ago | 0

Answered
Operation of specific elements of a matrix
mean(matrix(1:3:end,1))

7 years ago | 0

| accepted

Answered
Hi, I am working on a set of code implying the ANN. My end purpose is to plot a comparison graph between actual output and simulated output. However, there isn't any points displayed in my plot. What is the correct syntax?
However, there isn't any points displayed in my plot. What is the correct syntax? https://in.mathworks.com/help/matlab/ref/line...

7 years ago | 0

| accepted

Answered
How to save 4 matrices of the size 3*3
You need to use loop iterator as an index to save the variable(preallocated variable) inside the loop in each iteration Qij = ...

7 years ago | 1

| accepted

Answered
Extracting data from a 'for' loop
Replying to your latter comment : y=cell(1,numel(1:8:32)); for l=1:8:32 y{l}=d(:,l); end celldisp(y) % [y{:}] to conver...

7 years ago | 0

Answered
How to substitute a value for the time derivative of a function
use subs() like below: syms d(t) a = d^2+sin(d); v = diff(a); after=subs(v,diff(d),2) % here diff(d) is replace number 2 G...

7 years ago | 0

| accepted

Answered
how to plot a 2d matrix as contour plot?
datas=load('text.txt'); contour(datas');

7 years ago | 0

Answered
Calculate mean and median when I have 3 variables (axes)
doc mean doc median doc meshgrid

7 years ago | 0

Load more