답변 있음
My code is about finding head value using bisection or false error method .But its showing parse error for xl=input("the lower value");i don't know how to solve it...
You have to either copy the function below the main code or copy the function into a different mfile and then run the main code....

거의 4년 전 | 1

답변 있음
Plot last point of column
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1040940/zch4.txt') ; A = table2array(T) ; [r,c] =...

거의 4년 전 | 0

답변 있음
Dot Product of Rows in array
iwant = sum(A.*B,2) ;

거의 4년 전 | 0

답변 있음
Unable to perform assignment because the size of the left side is 111-by-1 and the size of the right side is 112-by-1.
The error is siimple, you are trying to save more number of elements than the array is initialized for. A = zeros(2,3) ; % ...

거의 4년 전 | 1

| 수락됨

답변 있음
3D plotting of given parametric equations
m = 50 ; n = 50 ; p = 5 ; u = linspace(0,pi,m) ; v = linspace(0,2*pi,n) ; r = linspace(25,75,p) ; [U,V,R] = meshgrid(u,v,r...

거의 4년 전 | 1

| 수락됨

답변 있음
reading in excel data with a specific heading
REad about readtable

거의 4년 전 | 0

답변 있음
how to count how many time rows of an matrix apear in other matrix
Read about ismember A = [1 1 3; 1 2 7; 1 3 5]; B = [1 1 3; 2 1 4; 1 3 5; 2 4 5]; [c,ia] = ismemb...

거의 4년 전 | 0

| 수락됨

답변 있음
Numerical problem in MATLAB (data precision)
Read about format format long But this is not an issue, don't worry.

거의 4년 전 | 0

| 수락됨

답변 있음
errors with quiver!
spacing = 0.2; [X,Y] = meshgrid(-2:spacing:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z); quiver(X,Y,DX,DY) hold on ...

거의 4년 전 | 0

답변 있음
Unable to plot inequality region
r = -5:0.01:5; [ki, kd] = meshgrid(r); cond = -9*ki>0 & 10*ki - 10*kd + 10>0 & 360*kd - 24*ki + 1320>0; % My 3 inequality c...

거의 4년 전 | 1

| 수락됨

답변 있음
Loading a .csv file that contains units
Read about readtable

거의 4년 전 | 0

답변 있음
calculate intensity of a part of images
imgs = dir('*.jpg') ; % give the image extension N = length(imgs) ; % Number of images iwant = cell(N,1) ; % save th...

거의 4년 전 | 0

답변 있음
I want to get the values of a,b,c,d when T =1 as an example
a= 24:1:26; b= 24:1:26; c=24:1:26; d=24:1:26; [a,b,c,d] = ndgrid(a,b,c,d) ; a = a(:) ; b = b(:) ; c = c(:) ; d = d(:) ...

거의 4년 전 | 0

| 수락됨

답변 있음
Compares characters within strings
letter1 = input("Please enter a string: ",'s'); letter2 = input("Please enter a string: ",'s'); count = 0 ; for i = 1:3 ...

거의 4년 전 | 0

답변 있음
How to plot multiple 3D matrices
Read about slice

거의 4년 전 | 0

| 수락됨

답변 있음
How to determine the start time and the end time of the signal
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1033920/signal.csv') ; t = T.(1) ; x = T.(2) ; i...

거의 4년 전 | 1

답변 있음
How to find z coordinate while having only x and y coordinates on images?
Read about interp2

거의 4년 전 | 0

답변 있음
Unable to perform assignment because the size of the left side is 625-by-1 and the size of the right side is 1875-by-1
Better save them into an cell array. circle_folder = 'C:\Users\MyPC\Documents\CR\start\circle'; name_circle = dir(fullfile(c...

거의 4년 전 | 1

답변 있음
Expected Shortfall for asset returns
[rownum, columnum] = size(Ret); store = zeros(1,columnum) CVaR = cell(columnum,1) ; for i = 1:columnum ind(i) = find(Re...

거의 4년 전 | 0

답변 있음
Query regarding Quiver plot
Get the components first and then use quiver. u = amplitude.*cos(direction) ; % be cautious of units of direction/ angle v ...

거의 4년 전 | 0

답변 있음
legend id not showing my data
Try this: figure() hold on title ('HRF time series of a voxel with strong correlation from slice number #', num2s...

거의 4년 전 | 0

답변 있음
Meshing a surface in space into triangles
You may explore this option: https://www.gibboncode.org/html/HELP_tri3_tri6.html

거의 4년 전 | 0

| 수락됨

답변 있음
Find curve intersection points in lat lon between rivers and satellite traces on a map
Try this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

거의 4년 전 | 0

| 수락됨

답변 있음
Sign minus, not hyphen
str = 'UTF−16:2212' ; figure title(str)

거의 4년 전 | 0

답변 있음
Create real colorbar pictures
You can make your colormap using the RGB color code values. Check the below example. y = [255 255 0]/255 ; % yello RGB value w...

거의 4년 전 | 0

답변 있음
Create a range of values ​​of the desired length
iwant = linspace(16,42,8)

거의 4년 전 | 0

| 수락됨

답변 있음
How to average out the drifting circle?
You may consider using: https://in.mathworks.com/matlabcentral/fileexchange/3215-fit_ellipse

거의 4년 전 | 0

| 수락됨

답변 있음
Loop of two variables
A=100 ; P=100:1000 ; Pc=1076 ; Tc=400 ; T=100:1000 ;% [P,T] = meshgrid(P,T) ; pr = P/Pc ; tr = T/Tc ; p = pr+tr ; ...

거의 4년 전 | 0

답변 있음
Plotting issue where the curve is missing
w=linspace(-5,-0.01) ; s=100; O = zeros(size(w)) ; for i=1:s F = (exp(-1.863*10^-2)+w(i).^(-2)*exp(-1.9*10^-4)-2*w...

거의 4년 전 | 0

| 수락됨

답변 있음
Invalid data format for digital channel. Data must be of double or logical type and contain values of 0 or 1.
The error is simple. Indexing of array in MATLAB should be positive integers or logicals. A = rand(5,1) ; A(1) % no error ...

거의 4년 전 | 0

더 보기