photo

sxh


Active since 2023

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Thankful Level 2

View badges

Feeds

View by

Question


number format inconsistency between '"format shortE" and "format default"
Why does using "format shortE" gives incorrect value for X? X should just be a identity lambda= [3*1i 0;0 3*1i] K = diag(2*p...

2 months ago | 0 answers | 0

0

answers

Question


2×0 empty double matrix
trying to calculate a function with matrix arguments and matrix output: Question 1: is the following code the right way to do it...

3 months ago | 1 answer | 0

1

answer

Solved


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

4 months ago

Question


colorbar not working?
clc; close all; clear; x = -1:2/511:1; [X,Y] = meshgrid(x); R = sqrt(X.^2 + Y.^2); Phi = atan2(X,Y); Z = zeros(512,...

11 months ago | 1 answer | 0

1

answer

Question


least square fit "lsqcurvefit" not good enough?
Hi All, Trying to solve "K_a" by least square fitting an equation "func" to a dataset "backgroundImpIm". Bu when I plot them to...

1 year ago | 1 answer | 0

1

answer

Question


error: matrix dimensions must agree
Hi I am banging my head over this least square curve fitting even when following the simplest procedure I found. The error says...

1 year ago | 2 answers | 0

2

answers