Réponse apportée
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...

environ 4 ans il y a | 1

Réponse apportée
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

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
How to convert datetime into a number?
dt = datestr(now,'yyyymmddHHMMSS')

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
converting from symbolic to numerical
Read about double, vpasolve.

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How to plot surface temperature values in a map
Read about geoscatter.

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Random inputs for a logic array?
function [averageScores, deviationScores, medianScores, modeScores, partyDecision] = PizzaParty(scores) averageScores=mean(s...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Assemble the generated graph
You can do interpolation and join the jumps. Have a look on interp1. Also read about fillmissing.

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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(...

environ 4 ans il y a | 0

Réponse apportée
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

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How do i add a zeroes in every raws?
A = [1:2:7; 4:2:10; 9:-2:3] ; iwant = [zeros(3,2) A]

environ 4 ans il y a | 0

| A accepté

Réponse apportée
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.

environ 4 ans il y a | 0

Réponse apportée
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

environ 4 ans il y a | 0

Réponse apportée
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.

environ 4 ans il y a | 0

Réponse apportée
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)

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Add geographic data to pcolor plot
hold on load coast.mat plot(long,lat,'k')

environ 4 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
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...

environ 4 ans il y a | 0

Réponse apportée
Ploting 3 D cube or graph with pressure
REad about slice. https://in.mathworks.com/help/matlab/ref/slice.html#:~:text=slice(%20V%20%2C%20xslice%20%2C%20yslice%20%2C%2...

environ 4 ans il y a | 0

Charger plus