답변 있음
Plotting of solutions using Newton Raphson method for a nonlinear function
Refer this: https://in.mathworks.com/matlabcentral/answers/107508-solving-a-nonlinear-equation-using-newton-raphson-method SEa...

대략 4년 전 | 0

답변 있음
The code doesn't generate a graph. Please tell where I am doing wrong.
You have to use a marker, as you are plotting point by point. x = 1; for n = 1:30 y = (7259/14520)*x + 167/2420 plot...

대략 4년 전 | 1

답변 있음
How to find the coordinates of gauss points for stress plot??
Have a look on this: https://in.mathworks.com/matlabcentral/fileexchange/32519-stress-recovery?s_tid=srchtitle

대략 4년 전 | 0

답변 있음
I want to convert a single cell to a float number
celltest = {23.234,123.45}; class(celltest{1}) If it is double, nothing need to be done. If it is a string, read about str2nu...

대략 4년 전 | 0

답변 있음
How to convert datetime into a number?
dt = datestr(now,'yyyymmddHHMMSS')

대략 4년 전 | 0

답변 있음
Opening a netcdf variable
How to access the SIF_743 product Read about ncread. 2. i want to plot the lat long and z parameter as SIF. which commands sh...

대략 4년 전 | 0

답변 있음
converting from symbolic to numerical
Read about double, vpasolve.

대략 4년 전 | 1

| 수락됨

답변 있음
How to plot surface temperature values in a map
Read about geoscatter.

대략 4년 전 | 0

답변 있음
Not enough input arguments.
It seems, you are striaght away running the code using run/ F5 key. Save your code into function, with the name mQAM.m, go th...

대략 4년 전 | 0

답변 있음
Numerical precision when using colon operator
You cannot use ismember for floating point numbers. If you want to have values at time2, you can use interp1. Read about interp1...

대략 4년 전 | 0

| 수락됨

답변 있음
how to plot a vector?
x = linspace(-1,1) ; y = linspace(-1,1) ; [X,Y] = meshgrid(x,y) ; % F = e^y i + x*e^y j u = exp(Y) ; v = X.*exp(Y) ; q...

대략 4년 전 | 0

답변 있음
How to do post processing for stresses in MATLAB?
It is very much possible. Refer to this file exchange functions: https://in.mathworks.com/matlabcentral/fileexchange/32719-post...

대략 4년 전 | 0

답변 있음
How do I draw a contour plot for f(x, y)=(2*x^2 + 3*y^2)*e^(−x^2−y^2) . that encompasses the critical points (0, 0) and (0, 1)?
m = 100 ; n = 100 ; x = linspace(-1,1,m) ; y = linspace(-1,1,n) ; [X,Y] = meshgrid(x,y) ; F = (2*X.^2 + 3*Y.^2).*exp(-X...

대략 4년 전 | 1

| 수락됨

답변 있음
Random inputs for a logic array?
function [averageScores, deviationScores, medianScores, modeScores, partyDecision] = PizzaParty(scores) averageScores=mean(s...

대략 4년 전 | 0

| 수락됨

답변 있음
Assemble the generated graph
You can do interpolation and join the jumps. Have a look on interp1. Also read about fillmissing.

대략 4년 전 | 0

답변 있음
Compare a string against list of other strings
data_rate = '288'; % user input permissible_rates = {'128';'256';'512'}; % validate input against this idx = contains(permissi...

대략 4년 전 | 0

답변 있음
How do i make this form with matrix ?
A = work5() ; function A=work5() m=1; for k=10:10:160 n=1:k; a= sum(nthroot(n.^2,5)./((3.^n).*(n+1))); A(...

대략 4년 전 | 0

답변 있음
how do i print this matrix?
A = zeros(6,5) ; A(1:3,1:3) = 1 ; A(:,4) = [1 0 0 1 1 1]' ; A(:,5) = [1 0 0 1 1 1]' ; A

대략 4년 전 | 0

| 수락됨

답변 있음
How do i add a zeroes in every raws?
A = [1:2:7; 4:2:10; 9:-2:3] ; iwant = [zeros(3,2) A]

대략 4년 전 | 0

| 수락됨

답변 있음
Change the data field type in my shapefile
If you change the data, you need to write into shapefile again using shapewrite to hold the changes.

대략 4년 전 | 0

답변 있음
plot contours for pressure on surface points defined by z,y and z corrdinates
Refer this: https://in.mathworks.com/matlabcentral/answers/412639-creating-surface-plot-from-a-matrix-with-3-columns

대략 4년 전 | 0

답변 있음
Extract row values from text file to add
REad about the function load, it will load text file data into workspace; then use you formula on the arrays.

대략 4년 전 | 0

답변 있음
I want to know x,y coordinate
Already you have the code. t=0:0.01:10 ; x=t.^3+t ; y=t.^2+2.*t.^3 ; plot(x,y)

대략 4년 전 | 0

답변 있음
How can i find specific data from a large no. of csv file?
T = readtable('Data.csv') ; csvFiles = dir('*.csv') ; % otherfiles in a folder. Keep Data.csv seperatly N = length(csvFile...

대략 4년 전 | 0

답변 있음
plot circules with with radius and random locations on 10x10 square area
You can plot circle using: th = linspace(0,2*pi) ; R = 1; % radius C = [0 0] ; % center x = C(1) + R*cos(th) ; y = C...

대략 4년 전 | 1

| 수락됨

답변 있음
The meaning of code on this program
You shoould run the code o understand it your self. What is purpose of this code and why it is used on this program ? The pur...

대략 4년 전 | 0

| 수락됨

답변 있음
Add geographic data to pcolor plot
hold on load coast.mat plot(long,lat,'k')

대략 4년 전 | 0

| 수락됨

답변 있음
How to do surface plot from given set of data?
T = readtable('data.txt') ; x = T.(1) ; y = T.(2) ; z = T.(3) ; % Plot as unstructured grid dt = delaunayTriangulation(x,y...

대략 4년 전 | 0

| 수락됨

답변 있음
How to plot a jet colour bar for specific values ?
This line: cm = colormap(jet(numel(r))); You are limiting the colorbar to only six colors. So you are getting the colorbar a...

대략 4년 전 | 0

답변 있음
Overlay contourf plot to a JPEG
It is better to plot the contourf plot on the image. First read the image using imread. Plot the image with your desired tagg...

대략 4년 전 | 0

더 보기