Answered
How to import data from .csv file, from specific columns of a row, into an array
% if true % code % end GDPperCapita = importdata('GDP.csv') array = GDPperCapita(263,5:end) The highlighted box arr...

alrededor de 1 mes ago | 0

Answered
How do I get a histogram of values from within a table?
%if true % code %end table1 = table(table.column1=="CAT", :); histogram(table1(:,1))

alrededor de 1 mes ago | 0

Answered
Legend position changed after saving a picture
% if true % code %end saveas(gcf, savePath,'Renderer','pdf'); Use the saveas with renderer argument and file extens...

alrededor de 1 mes ago | 0

Answered
Legend Color doesn't Match the Curves Color
% if true % code %end ph = semilogy(z,PDF_Hp,'LineWidth',4); xlabel('The Distance Z') ylabel('The Probability Densit...

alrededor de 1 mes ago | 0

Answered
When I plot a curve the lines have little "nicks" in them. How do I fix that?
Reduce the linewidth to 2 or 3 You seem to be using 7 which is very thick

alrededor de 1 mes ago | 0

| accepted

Answered
Plot one row of x with multi rows of Y
X= 25:25:100; Y = [646 490 700 669;1530 1388 1500 1666;2586 3260 882 1704;4411 4415 2419 2142]; bar(X,Y,'stacked'); I just sh...

alrededor de 1 mes ago | 1

Answered
can anybody help me with this error,load a file in workspace and ruleviewer
Type at command window % if true % code %end >>pwd >>which BMSS1 >>which fc See if all the simulink model ...

alrededor de 1 mes ago | 0

Answered
Error using plot Vectors must be the same lengths when plotting thetap_dot(k) vs. time.
for k = 1: N ... end

alrededor de 1 mes ago | 0

Answered
How to create a contour plot for 2 sets of angles
You need to have additional matrix Z that is dependent on X and Y to use contour plot. See the resource below <https://in....

alrededor de 1 mes ago | 0

Answered
How to plot histogram where the data is the height
%if true % code %end x = 0:10; y = [20 120 133 34 45 37 180 12 100 30 12]; % example values bar(x,y)

alrededor de 1 mes ago | 0

| accepted

Answered
semilogy plot using 'arrayfun'
Use a different axes handle _ax2_ for the semilogy graph I think you are using same axes handle for plot and semilogy graph...

alrededor de 1 mes ago | 0

Answered
Matrix changes size inside for loop prevent making further matrix operations
Use the index ii as % if true % code % end ii = length(T) for i = 1: ii ... end

alrededor de 1 mes ago | 0

Answered
How to loop through all the rows of size using a for loop
Use length instead of size as below %if true % code %end for ii=1:length(x) Numberofrows(ii)=ii; check=...

alrededor de 1 mes ago | 0

Answered
Z must be a matrix, not a scalar or vector - problem resolved
In the code solve(...) Is unable to solve the equation for the scalar input values of Ec and Eg, Ev, T Ef must be a matrix of...

alrededor de 1 mes ago | 0

Answered
How can I create a temperature colormap over a global map with temperature data from lat/lon
Use the heatmap function resource <https://in.mathworks.com/help/matlab/ref/heatmap.html?s_tid=srchtitle>

alrededor de 1 mes ago | 0

Answered
How to makedisk for a three parameter weibull distribution
you are using vector of values for 2 parameters and scalar value for other parameter ... try this %if true % code %...

alrededor de 1 mes ago | 1

Answered
How can i plot decibel with time
Try %if true % code % end [y,fs] = wavread('file.wav'); Db = mag2db(y); T = 1./fs;% time plot(T,Db);

alrededor de 1 mes ago | 0

Answered
How to change .fig name when I use savefig
Pass the handle to savefig funvtion _ % if true % code % end savefig(h,'figname'); ensure filename does not end w...

alrededor de 1 mes ago | 0

Answered
can i download 2019a trial software?
Check this resource where you can download It <https://in.mathworks.com/products/compiler/matlab-runtime.html>

alrededor de 1 mes ago | 0

Answered
3D Plot for an integral function in a loop
Try now ... For loops cannot take decimal increments in matlab %if true % code %end m1=5; mtmd=0.25; omg1=2*pi...

alrededor de 1 mes ago | 0

| accepted

Answered
How to hide the value of each matrix in heatmap?
Try this %if true % code % end H = heatmap(...); ax = gca; ax.XDisplayLabels = nan(size(ax.XDisplayData)); ax.YD...

alrededor de 1 mes ago | 0

Answered
how do I calculate all values in for loop?
%if true % code % end x = [0 2 5 7 8 9 10]; for i = 1:length(x) for j = 1:length(Tamb) Tc(j)= Tamb(j) + 0....

alrededor de 1 mes ago | 1

Answered
Unable to change State Equation to Transfer Function
Check whether you are using discrete or continuous time model in simulink If it's discrete then you need additional argument...

alrededor de 1 mes ago | 0

Answered
[ERROR] Index exceeds array dimensions. Index value 0 exceeds valid range [1-8] of array states. How to correct the code and solve this problem?
Check the array dimensions of states by typing in command window and then by typing x_opt variable >>[R,C] = size(states) >>x_...

alrededor de 1 mes ago | 0

Answered
how to import multiple cells (as part of a variable in matlab) into excel?
%if true % code %end xlswrite(filename,X{:});

alrededor de 1 mes ago | 0

Answered
linkaxes on logarithmic scale is off
Try this way. %if true % code %end % kernel density plot c=1; figure; for idx = 1:numel(areas) for jdx ...

alrededor de 1 mes ago | 0

Answered
Changing the center of the frequency spectrum
In figure 2 shown , the x axis is frequency while the y axis is magnitude . But fronm your code y vector is freq. ??? Is there a...

alrededor de 1 mes ago | 0

Answered
Empty sym: 0-by-1
Try this way... I guess your equations maybe incorrect %if true % code %end clc; clear; syms x y z a=((30*(2*...

alrededor de 1 mes ago | 0

Answered
How to solve a transfer function equation in Matlab
Use the following resources for transfer function <https://in.mathworks.com/help/control/ref/tf.html> <https://in.mat...

alrededor de 1 mes ago | 0

Answered
How to solve the equation shown in image below?
Place the term in sqrt outside the cost parenthesis. I doubt the equation is correct Try this %if true % code ...

alrededor de 1 mes ago | 0

Load more